Optimisation - fmincon error

조회 수: 7 (최근 30일)
Balaji L
Balaji L 2019년 6월 25일
댓글: Matt J 2019년 6월 25일
While using fmincon and ga am getting this error. how to resolve it?
  댓글 수: 1
Matt J
Matt J 2019년 6월 25일
Please use text instead of screenshots to communicate code, where possible. It uses far less memory and makes it easier for people to copy/paste and experiment with your code.

댓글을 달려면 로그인하십시오.

채택된 답변

Stephan
Stephan 2019년 6월 25일
편집: Stephan 2019년 6월 25일
Rename your script. NEVER name a script like an inbuilt function. This causes exactly the error you get.
  댓글 수: 4
Balaji L
Balaji L 2019년 6월 25일
It worked after i deleted fmincon.m in that path and call script by new name. Thanks
Stephan
Stephan 2019년 6월 25일
please accept useful answers.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by