optimset in fminsearch

What is wrong?
Matlab 2012a
Undefined function 'optimset' for input arguments of type 'char'.
options = optimset('Display','off');
est = fminsearch(@LF_GMFitFn,estimates,options,iModel,t,sizes);

3 Kommentare

Daniel Shub
Daniel Shub am 9 Mai 2012
What do you get with
which optimset -all
Walter Roberson
Walter Roberson am 9 Mai 2012
What (if anything) does
which -all optimset
return?
Jeremy Shaver
Jeremy Shaver am 10 Jul. 2012
Bearbeitet: Jeremy Shaver am 10 Jul. 2012
Had the same problem - I assume this user has solved the problem, but if someone else is looking, it is a path problem after upgrading. See: <http://www.mathworks.com/support/solutions/en/data/1-IAA3S5/index.html?solution=1-IAA3S5>

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by