options = optimset('​MaxFunEval​s',999) does not work

Hi all,
I've also tried
hybridopts = optimset('MaxFunEvals', 1200)
And keep on getting:
lsqcurvefit stopped because it exceeded the function evaluation limit, options.MaxFunEvals = 200 (the default value).
Running Matlab 2012a on linux 64bit, using lsqcurvefit with std-options.
Any help?
thx...

3 个评论

Are you sure you are using your 'hybridopts' when you call lsqcurvefit? Because you say that you are using it with 'std-options'.
do you pass down those options to the actual lsqcurvefit call?
what do you mean by "pass"?

请先登录,再进行评论。

回答(1 个)

You have to include the options in the function call. Something like
x = lsqcurvefit(fun,x0,xdata,ydata,lb,ub,hybridopts)
Alan Weiss
MATLAB mathematical toolbox documentation

类别

帮助中心File Exchange 中查找有关 Nonlinear Optimization 的更多信息

提问:

oxy
2013-10-15

回答:

2013-10-15

Community Treasure Hunt

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

Start Hunting!

Translated by