How to create folder in GA Optimization toolbox
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
I'm using GA toolbox for optimization. How do I create a folder with different numbering in each population in each generation of the GA run to save objective function operations in it?
0 件のコメント
回答 (1 件)
Alan Weiss
2014 年 2 月 28 日
0 投票
I am not sure what you want. Do you want to save the population at every iteration? You can use an output function to save the population. The state.Poplulation field of the state structure has the population. The state.Generation field hold the iteration number that you can use to number your file.
Alan Weiss
MATLAB mathematical toolbox documentation
1 件のコメント
Uswah
2014 年 2 月 28 日
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!