Undefined function 'gaoptimset' for input arguments of type 'char'.
이전 댓글 표시
I use matlab R2017a and setup global optimization toolbox(trial).
When I run below code, the error was occurred with this description.
Error: Undefined function 'gaoptimset' for input arguments of type 'char'.
How do I fix this error?
options=gaoptimset('Display','iter','Generations',700,'InitialPopulation',ip);*
답변 (1개)
Alan Weiss
2017년 5월 25일
Ensure that you have Global Optimization Toolbox installed by running
ver
If you don't have it, then reinstall it. If you have it, then contact technical support for installation issues.
Alan Weiss
MATLAB mathematical toolbox documentation
P.S. These days we are recommending optimoptions for setting ga options. See the R2016a release notes.
댓글 수: 1
Hanwool Jang
2017년 5월 25일
이동: Angelo Yeo
2023년 12월 27일
카테고리
도움말 센터 및 File Exchange에서 설치 및 라이선스 부여 소개에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!