Is it possible to get an exitflag using findop ?
Show older comments
I am using 'findop' from the Simulink Control Design Toolbox to find operating points of a system. I use the default 'graddescent_elim' algorithm, which calls the 'fmincon' algorithm.
I know that the 'fmincon' function can return an integer 'exitflag' giving informations about how the optimization has ended. In the report generated by findop ('opreport') I can display a termination message with the command 'opreport.OptimizationOutput.message' which gives informations about the termination of the optimization. However I would like to have that info "summed up" as an integer like the 'exitflag' of 'fmincon'. Is it possible to get the 'exitflag' of fmincon as an output of 'findop' ?
Answers (1)
Alan Weiss
on 21 Nov 2014
0 votes
Can you examine opreport to see if there is an Exitflag field?
Disclaimer: I know nothing about Simulink reports.
Alan Weiss
MATLAB mathematical toolbox documentation
1 Comment
Categories
Find more on Operating Points 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!