From: Maria on
Hi there!

Each time I run my program, I get the message ''Optimization terminated: relative function value changing by less than OPTIONS.TolFun.'' for each optimization the program performs.
It makes the output too heavy and I would like to eliminate this messages. Is it using ''optimset''?
Can anyone help me on this?

Thanks a lot,
Maria
From: Steven Lord on

"Maria " <fpacheca(a)yahoo.com> wrote in message
news:hve2od$463$1(a)fred.mathworks.com...
> Hi there!
>
> Each time I run my program, I get the message ''Optimization terminated:
> relative function value changing by less than OPTIONS.TolFun.'' for each
> optimization the program performs. It makes the output too heavy and I
> would like to eliminate this messages. Is it using ''optimset''?
> Can anyone help me on this?

Yes, use OPTIMSET to change the value of the Display option in the options
structure you pass into the optimization function. The reference page, DOC
OPTIMSET, will tell you the values allowed for that option and how much
display they do.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com