MATLAB Answers

passing one function as input to another function in SIMULNK block

36 views (last 30 days)
Pravarshi Kolluri
Pravarshi Kolluri on 29 Sep 2020 at 5:01
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.
Thanks in advance

  0 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!