Optimisation - fmincon error

2 次查看(过去 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