A optimset code that was running in MATLAB 2015 version is not working on Matlab 2019 version. What is the problem
Mostra commenti meno recenti
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 Commento
Walter Roberson
il 22 Lug 2019
Switch to optimoptions instead of optimset.
Note that some options were renamed.
Risposte (0)
Categorie
Scopri di più su Systems of Nonlinear Equations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!