Borrar filtros
Borrar filtros

The "Current Function Value" plot ?

2 visualizaciones (últimos 30 días)
amine&&
amine&& el 10 de Jul. de 2016
Comentada: amine&& el 11 de Jul. de 2016
Hello, How can i get "current function value" giving by Optimization tool using only the command line?
Thanks !

Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Jul. de 2016
Construct an options structure that includes PlotFcn and give an option value of @optimplotfval . The options structure can be constructed using the new optimoptions or the older optimset .
The options structure must be passed as the 10th parameter to fmincon(), so if you do not need some of the parameters, pass [] in their place.
  3 comentarios
Walter Roberson
Walter Roberson el 11 de Jul. de 2016
That looks okay.
amine&&
amine&& el 11 de Jul. de 2016
Thanks for your efforts Roberson.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with Optimization Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by