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

답변 (1개)

Pritesh Shah
Pritesh Shah 2016년 10월 15일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 C Code Generation에 대해 자세히 알아보기

태그

질문:

2016년 10월 15일

답변:

2016년 10월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by