what is wrong with my optimoptions call?

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

 Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Linear Programming and Mixed-Integer Linear Programming en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by