error message with lsqcurvefit
显示 更早的评论
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
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Nonlinear Least Squares (Curve Fitting) 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!