Unable to set OptimOptions for Solvers in Curvefitting

조회 수: 1 (최근 30일)
hisenbug
hisenbug 2020년 9월 28일
댓글: hisenbug 2020년 9월 29일
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
Ameer Hamza
Ameer Hamza 2020년 9월 29일
Glad that it worked out finally. Did you reinstall the optimization toolboxes?
hisenbug
hisenbug 2020년 9월 29일
I installed R2020b with all Optimization Toolboxes. That worked.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by