Use of an existing function as a objective function?

1 view (last 30 days)
Md Shakawat Hossan
Md Shakawat Hossan on 15 Oct 2016
Answered: Pritesh Shah on 15 Oct 2016
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?

Answers (1)

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



Community Treasure Hunt

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

Start Hunting!