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+)?
1 view (last 30 days)
Show older comments
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.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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 Comments
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!