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

Laurent
Laurent 2013년 10월 15일
Are you sure you are using your 'hybridopts' when you call lsqcurvefit? Because you say that you are using it with 'std-options'.
Friedrich
Friedrich 2013년 10월 15일
do you pass down those options to the actual lsqcurvefit call?
oxy
oxy 2013년 10월 15일
what do you mean by "pass"?

댓글을 달려면 로그인하십시오.

답변 (1개)

Alan Weiss
Alan Weiss 2013년 10월 15일

2 개 추천

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