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 Center および File ExchangeIntroduction 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