How can I export the state-space model of a simulink model?

33 次查看(过去 30 天)
hello everybody,
I work the first time with Simulink and I try to generate physical equations of my model. At first, I tried to build a c-code-model. It doesn't works... Do I have other options to create them?
thank you for your informations!

采纳的回答

Sebastian Castro
Sebastian Castro 2014-11-19
If you want to convert a Simulink model to a set of state-space equations, you can linearize it using the Simulink Control Design product. If your model is fully linear, this is a good way of converting a graphical model into a state-space object usable in MATLAB. If the model is nonlinear, this will give a linear approximation of your model about a particular operating point.
The MathWorks Web site has an entire page devoted to this workflow. http://www.mathworks.com/discovery/linearization.html
Best,
Sebastian
  1 个评论
Koceila Cherfouh
Koceila Cherfouh 2020-3-3
Is there any way to obtain the nonlinear model of the system to apply nonlinear control algorithms?
Thanks,
Koceila

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Additional Math and Discrete 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by