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 Comments

What do you get with
which optimset -all
What (if anything) does
which -all optimset
return?
Jeremy Shaver
Jeremy Shaver on 10 Jul 2012
Edited: Jeremy Shaver on 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>

Sign in to comment.

Answers (0)

Categories

Find more on Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!