Genetic Algorithm Toolbox Problem
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
b
am 7 Mai 2012
Beantwortet: VENKATA SUPRIYA GOTTAM
am 2 Mär. 2024
I could not create a "creation function" in the genetic algorithm toolbox. My population consists of only real values. Firstly, my creation function includes,
function chrom=initrp(Nind,FunctionName,Options);
But i get stuck on "options" part. I am trying to write variables for options part. but it always give error on this.
How can i solve this problem? Thanks
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 7 Mai 2012
options should be a structure, according to the response when you posted your previous question about this a short time ago.
0 Kommentare
Weitere Antworten (1)
VENKATA SUPRIYA GOTTAM
am 2 Mär. 2024
Unrecognized function or variable 'initrp'.
Error in genet (line 36)
chrom=initrp(pop,range);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!