Use of an existing function as a objective function?

1 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 C Code Generation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by