MATLAB Answers


How to save GA optimization iteration data in to a file?

Asked by Raj
on 22 Jan 2013

I use Genetic Algorithm (GA)part of the optimization toolbox for my work. The optimized values after each iteration will be displayed on the command window and a graph of the same will be updated. But i couldn't find any option to save those displayed values to a file to generate the same graph in future. I also need those values to for post processing. help me in this regard.

Is there any option to save the generated graph automatically once the optimization is over?


Log in to comment.

1 Answer

Answer by Matt J
on 22 Jan 2013
 Accepted Answer


Log in to comment.

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Win prizes and improve your MATLAB skills

Play today