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'?
↧