Genetic Algorithm Toolbox Problem

1 回表示 (過去 30 日間)
b
b 2012 年 5 月 7 日
回答済み: VENKATA SUPRIYA GOTTAM 2024 年 3 月 2 日
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

採用された回答

Walter Roberson
Walter Roberson 2012 年 5 月 7 日
options should be a structure, according to the response when you posted your previous question about this a short time ago.

その他の回答 (1 件)

VENKATA SUPRIYA GOTTAM
VENKATA SUPRIYA GOTTAM 2024 年 3 月 2 日
Unrecognized function or variable 'initrp'.
Error in genet (line 36)
chrom=initrp(pop,range);

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by