passing one function as input to another function in SIMULNK block
passing one function as input to another function in SIMULNK block
(OP)
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.

RE: passing one function as input to another function in SIMULNK block
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: passing one function as input to another function in SIMULNK block
RE: passing one function as input to another function in SIMULNK block
https://www.math.colostate.edu/~gerhard/MATH331/la...
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm