The "Current Function Value" plot ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello, How can i get "current function value" giving by Optimization tool using only the command line?
Thanks !
0 Commenti
Risposta accettata
Walter Roberson
il 11 Lug 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with Optimization Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!