Use of an existing function as a objective function?

Hi, i am trying to use the code of recursive least square estimator block from simulink. My question is can i use this function as a objective function for my problem and set a constraint for the outputs?
Thanks

Answers (1)

You can call Simulink model using sim function in objective function. In Simulink model, you can store that variable (to workspace).
All the best !!

Tags

Asked:

on 15 Oct 2016

Answered:

on 15 Oct 2016

Community Treasure Hunt

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

Start Hunting!