s-function Can't be Linearized ?
3 views (last 30 days)
Show older comments
Hi everyone,
I have built a non-linear model in MATLAB, and I have been able to reproduce it in SIMULINK using level 2 s-function. The next step in my project is to implement an MPC controller to control the dynamics of the model. Unfortunately, it seems from my small research that the s-function is not defined as an LTI system and the linearization of the model can't be done. Does anyone have a solution or workaround to this problem?
Thanks,
P.S. I have tried to use the MATLAB function block but I haven't known how to interpret the continuous-time of the SIMULINK inside the function properly.
4 Comments
Sam Chak
on 27 Jun 2022
Then try using your hand-linearized model on the MPC for design purposes.
Once completed, hook up MPC back to the S-function model.
Answers (0)
See Also
Categories
Find more on Linear Plant Specification 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!