Why do I receive an error about a non-existent field when loading an options argument created in the Optimization Toolbox 2.3 (R13SP1) or earlier into the Optimization Toolbox 3.0 (R14) or later?
Show older comments
I saved the workspace, including the optimization options argument, while using the Optimization Toolbox 2.3 (R13SP1). However, when I load the workspace into the Optimization Toolbox 3.0 (R14) and use the options argument as an input to an optimization function, I receive the following error:
??? Reference to non-existent field 'RelLineSrchBnd'.
Error in ==> optimget at 87
o = options.(Names{j,:});
Error in ==> optim\private\nlconst at 105
relLineSrchBnd = optimget(OPTIONS,'RelLineSrchBnd',[]);
Error in ==> fmincon at 498
[X,FVAL,lambda,EXITFLAG,OUTPUT,GRAD,HESSIAN]=...
Accepted Answer
More Answers (0)
Categories
Find more on Choose a Solver in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!