1 réponse
Fais un which -all fmincon pour comprendre
et regarde cette note technique:
Why do I receive the error "Attempt to execute SCRIPT FILENAME as a function"?
https://www.mathworks.com/matlabcentral/answers/93148-why-do-i-receive-the-error-attempt-to-execute-script-filename-as-a-function
Aurélien
https://blog.developpez.com/matlab4geek/
et regarde cette note technique:
Why do I receive the error "Attempt to execute SCRIPT FILENAME as a function"?
https://www.mathworks.com/matlabcentral/answers/93148-why-do-i-receive-the-error-attempt-to-execute-script-filename-as-a-function
Aurélien
https://blog.developpez.com/matlab4geek/