how to get and plot current "x" and "fval" during an fmincon optimization embedded in a GUI
Show older comments
Hi,
I am writing an optimization code embedded in a GUI. Optimization works well at the moment, but I would like to improve the functionality of my GUI. In that context, I would like to plot a dynamic graph of "current point" and "current function value" of fmincon iterations on my GUI. My problems are:
1) I couldn't achieve to write an working Output function.
2) About GUI plot; I am not sure if I have to write plot command in my optimization function or in GUI callback
Thanks in advance
Sercan
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!