error message with lsqcurvefit
1 view (last 30 days)
Show older comments
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 Comment
Star Strider
on 27 Sep 2012
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.
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!