A optimset code that was running in MATLAB 2015 version is not working on Matlab 2019 version. What is the problem
Show older comments
I was using this code in Matlab 2015. Then i Upgraded my version to Matlab 2019 and it shows this error
Error using optimset (line 255) Unrecognized parameter name 'Algorithm'. Please see the optimset reference page in the documentation for a list of acceptable option parameters. Link to reference page.
What should i do?
Code :
options=optimset('Algorithm','sqp','ScaleProblem','obj-and-constr','TolX',1e-10,'TolFun',1e-10,'MaxFunEvals',1e5,'MaxIter',1e4);
1 Comment
Walter Roberson
on 22 Jul 2019
Switch to optimoptions instead of optimset.
Note that some options were renamed.
Answers (0)
Categories
Find more on Systems of Nonlinear Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!