Genetic Algorithm Toolbox Problem
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
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.
댓글 수: 0
추가 답변 (1개)
VENKATA SUPRIYA GOTTAM
2024년 3월 2일
Unrecognized function or variable 'initrp'.
Error in genet (line 36)
chrom=initrp(pop,range);
댓글 수: 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!