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
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)에 대해 자세히 알아보기

제품

질문:

2012년 9월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by