Use of an existing function as a objective function?
Show older comments
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)
Pritesh Shah
on 15 Oct 2016
0 votes
You can call Simulink model using sim function in objective function. In Simulink model, you can store that variable (to workspace).
All the best !!
Categories
Find more on C Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!