MATLAB Answers

Unable to set OptimOptions for Solvers in Curvefitting

조회 수: 1(최근 30일)
hisenbug
hisenbug 28 Sep 2020
댓글: hisenbug 29 Sep 2020
I have a multivariable non-linear regression code which was working fine in Matlab 2014b. Now setting the options for lsqcurvefit (or any fit) throws an error in Matlab 2020a. I am following the documentation. Does any toolbox need to be activated for this code snippet?
options = optimoptions('lsqcurvefit');
% Throws this error:
% Error using optimoptions (line 124)
% Empty keys are not allowed in this container.

  댓글 수: 7

표시 이전 댓글 수: 4
Ameer Hamza
Ameer Hamza 29 Sep 2020
Glad that it worked out finally. Did you reinstall the optimization toolboxes?
hisenbug
hisenbug 29 Sep 2020
I installed R2020b with all Optimization Toolboxes. That worked.

댓글을 달려면 로그인하십시오.

답변(0개)

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by