optimset in fminsearch

1 view (last 30 days)
Wolfgang Schellenberger
Wolfgang Schellenberger on 9 May 2012
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
Walter Roberson
Walter Roberson on 9 May 2012
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)

Community Treasure Hunt

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

Start Hunting!