What does the error message "You must specify genome length" mean when I click the "Start" button in GATOOL within the Genetic Algorithm and Direct Search Toolbox 1.0 (R13SP1+)?
2 次查看(过去 30 天)
显示 更早的评论
I type the command:
gatool
to bring up the Genetic Algorithm graphical interface. In the "Fitness function" field, I type:
@ackleyfcn
I then click the "Start" button, and I receive the following error message:
You must specify genome length
I would like to know what a "genome length" is.
采纳的回答
MathWorks Support Team
2009-6-27
This bug has been fixed for Release 14 (R14). For previous releases, read below for any possible workarounds:
"Genome length" is another term for "Number of variables." This error message occurs because you have failed to specify a value within the "Number of variables" field of the GATOOL. The error message should read:
You must specify number of variables.
This is a bug in GATOOL within the Genetics Algorithms and Direct Search Toolbox 1.0 (R13SP1+) in the way the error message is displayed when the user fails to specify a value in the "Number of variables" field.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!