what is wrong with my optimoptions call?

2 views (last 30 days)
I am running version MATLAB 7.7.0 (R2008b) and the following call givem me an error:
EDU>> options=optimoptions(@linprog,'Algorithm','simplex'); ??? Error using ==> optimoptions Too many input arguments.
What can I do about it? this is copied from a matlab help example.
Thanks Dylan

Accepted Answer

Shashank Prasanna
Shashank Prasanna on 3 May 2013
Dylan, optimoptions was newly introduced in MATLAB R2013a. If you are using an older release use optimset.
options = optimset('linprog');
options.Algorithm = 'simplex';

More Answers (0)

Categories

Find more on Images 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!