How can I export the state-space model of a simulink model?
31 views (last 30 days)
Show older comments
Dominik
on 19 Nov 2014
Commented: Koceila Cherfouh
on 3 Mar 2020
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!
0 Comments
Accepted Answer
Sebastian Castro
on 19 Nov 2014
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 Comment
Koceila Cherfouh
on 3 Mar 2020
Is there any way to obtain the nonlinear model of the system to apply nonlinear control algorithms?
Thanks,
Koceila
More Answers (0)
See Also
Categories
Find more on Additional Math and Discrete 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!