Unable to set OptimOptions for Solvers in Curvefitting
조회 수: 1 (최근 30일)
이전 댓글 표시
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
2020년 9월 29일
Glad that it worked out finally. Did you reinstall the optimization toolboxes?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!