pravs
Mechanical
- Apr 12, 2018
- 34
Hello,
I am trying to optimize a function using fmincon and created objective function and fmincon function in simulink .When I am trying to send objective function as input to fmincon the following error occurs. 'Objective function must be a function handle.' Can someone help me out on how to solve this issue.
I am trying to optimize a function using fmincon and created objective function and fmincon function in simulink .When I am trying to send objective function as input to fmincon the following error occurs. 'Objective function must be a function handle.' Can someone help me out on how to solve this issue.