Custom creation function for GA
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hari
am 22 Sep. 2022
Beantwortet: Walter Roberson
am 22 Sep. 2022
The calling syntax for cutom creation function is
function Population = myfun(GenomeLength, FitnessFcn, options)
How can I add an extra parameter as Input to the function?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 22 Sep. 2022
'CreationFcn', @(GenomeLength, FitnessFcn, options) myfun(GenomeLength, FitnessFcn, options, ExtraParameter)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays 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!