The "Current Function Value" plot ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, How can i get "current function value" giving by Optimization tool using only the command line?
Thanks !
0 commentaires
Réponse acceptée
Walter Roberson
le 11 Juil 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!