Optimisation - fmincon error

3 Ansichten (letzte 30 Tage)
Balaji L
Balaji L am 25 Jun. 2019
Kommentiert: Matt J am 25 Jun. 2019
While using fmincon and ga am getting this error. how to resolve it?
  1 Kommentar
Matt J
Matt J am 25 Jun. 2019
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Stephan
Stephan am 25 Jun. 2019
Bearbeitet: Stephan am 25 Jun. 2019
Rename your script. NEVER name a script like an inbuilt function. This causes exactly the error you get.
  4 Kommentare
Balaji L
Balaji L am 25 Jun. 2019
It worked after i deleted fmincon.m in that path and call script by new name. Thanks
Stephan
Stephan am 25 Jun. 2019
please accept useful answers.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by