Storing no.of iterations taken by optimization algorithm in a variable automatically.

2 views (last 30 days)
How to store number of iterations taken by optimization algorithm in a variable automatically inside a script file. I am aware that there is a way to display number of iterations using options but don't know how to save it in a variable in side the script itself without manually entering.

Answers (0)

Categories

Find more on Get Started with Optimization Toolbox 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!