what is wrong with my optimoptions call?

1 Ansicht (letzte 30 Tage)
Dylan
Dylan am 3 Mai 2013
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by