Quantcast
Viewing latest article 14
Browse Latest Browse All 130

How can I use 'fmincon' without anonymous function with parameters?

I want to use the 'fmincon' in simulink matlab function block. And the simulink does not support the anonymous function. And I have several parameters for calculating the objective function and the global variable can not be assigned for those parameters. Then how can i construct the objective function file for using the 'fmincon'?

Viewing latest article 14
Browse Latest Browse All 130

Trending Articles