R12 Release Notes | ![]() ![]() |
Upgrading from an Earlier Release
The Optimization Toolbox uses an options structure to access various algorithm options. The Version 2.0 (R11) version of the options structure may be incompatible with the 2.1 (R12) version in some cases. In particular, if you have saved an options structure in a MAT-file from R11 and load it into R12 you may get an error similar to
??? Error using ==> subsref Reference to non-existent field 'MaxSQPIter'.
To avoid this error, wrap a call to optimset
around the old options structure to update it. For example,
optionsnew = optimset(optionsold);
and then use the optionsnew
options structure.
If you were using optimset
to create your options structure, as opposed to loading it from an older MAT-file, you should not need to make any changes.
![]() | Major Bug Fixes | Power System Blockset 2.1 Release Notes | ![]() |