error message with lsqcurvefit

1 回表示 (過去 30 日間)
Florence
Florence 2012 年 9 月 27 日
I runned several times lsqcurvefit with my previous matlab version . I recently loaded Matlab version R2012b still with the optimization toolbox. Now when I try to run lsqcurvefit, an error message appears: Undefined function 'optimget' for input arguments of type 'struct'.
Error in lsqnsetup (line 12) display = optimget(options,'Display',defaultopt,'fast');
Error in lsqcurvefit (line 182) [funfcn_x_xdata,mtxmpy_xdata,flags,sizes,funValCheck,xstart,lb,ub,EXITFLAG, ...
Is it linked to my recent upgrade? Best regards F.
  1 件のコメント
Star Strider
Star Strider 2012 年 9 月 27 日
With lsqcurvefit, the only options for 'Display' are 'off' and 'final' according to my 2012b documentation. (If not specified, the 'Display' option defaults to 'final'.) If you either did not specify 'Display' or set it to either 'off' or 'final' and are still getting the error, I suggest you contact Mathworks Technical Support.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by