A optimset code that was running in MATLAB 2015 version is not working on Matlab 2019 version. What is the problem
이전 댓글 표시
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
Walter Roberson
2019년 7월 22일
Switch to optimoptions instead of optimset.
Note that some options were renamed.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!