-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
atlinopt error in matlab 2009 #48
Comments
For Matlab 2009 For an empty cell array, Matlab 2009 does return an empty cell array but a single empty cell. (use in AT/linopt) %% 2009/2016 En Matlab 2009 %% Example to run if One wants to make an autotest % SOLUTION for 2009 fullfile is given below:
|
Hi,
In matlab 2009 (I checked that Matlab2017 version works fine), I get the following error message:
_??? Error using ==> struct
Array dimensions of input 10 must match those of input 2 or be scalar.
Error in ==> atlinopt at 124
ld = struct('ElemIndex',num2cell(find(REFPTS)),...
Error in ==> atlinopt at 119
[LD, tunesP] = atlinopt(RING,DP+0.5*dDP,refs,o1P); %#ok
This line appears in atsummary, so it makes atsummay not to work, however, the command atlinopt(THERING,0,1) works whithout problem. I guess an empty cell array and {} are not the same thing in Matlab2009, but I'm not sure...
Someone has any idea how to make it compatible with both versions?
Cheers,
Zeus
The text was updated successfully, but these errors were encountered: