and i get the same error with other fields of the structure options. This error is : Field assignment to a non-structure array object.
options_pso.InitialPopulation : how to assign ?
조회 수: 1 (최근 30일)
이전 댓글 표시
hi, i now get an error when setting options.InitialPopulation = [1,2,3] for example, after having run options=pso . Can you help me again ? thank you
채택된 답변
Walter Roberson
2016년 12월 29일
options = optimoptions('particleswarm', 'InitialPopulation', [1,2,3]);
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Particle Swarm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!