Unable to set OptimOptions for Solvers in Curvefitting
1 view (last 30 days)
Show older comments
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 Comments
Ameer Hamza
on 29 Sep 2020
Glad that it worked out finally. Did you reinstall the optimization toolboxes?
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!