R2013b Genetic Algorithm Stop Button not working?
Show older comments
I just upgraded to R2013b and when I now use the genetic algorithm function (ga) the gui still has the "Stop" and "Pause" buttons but clicking on them does not stop the iterating of the genetic algorithm? Also setting the 'state.StopFlag' to a string in my plot function does not stop the iterating either? What changed from R2012b?
Answers (1)
Alan Weiss
on 2 Dec 2013
0 votes
As far as I know, the Pause and Stop buttons in the "Run solver and view results" pane work. In some previous versions of the toolbox, these buttons would appear on the plot window. In R2013b they should not appear on the plot window. If they do, I think that the upgrade might not have been 100% successful.
If you set state.StopFlag to a nonempty string then GA should stop. I wonder if you should reinstall, or if perhaps some older files are still being called instead of the ones from the R2013b installation.
If reinstalling does not help, then I suggest that you call customer support.
Alan Weiss
MATLAB mathematical toolbox documentation
Categories
Find more on Genetic Algorithm 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!