How do i extract the state space with simulink control design?

1 view (last 30 days)
Hello!How can i extract the state space results of a simpowersystem model using Simulink control design? I want the A matrix in order to continue with eigenvalue analysis!

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 27 Sep 2013
Edited: Arkadiy Turevskiy on 27 Sep 2013
When you linearize a Simulink model with Simulink Control Design you get a linear system linsys, which is an LTI object, as explained here.
You can access A marix by typing
>>linsys.a
If you are working from a GUI, Linear Analysis Tool, you will have linsys in the Linear Analysis workspac, when you linearize the model. Simply drag and drop linsys to MATLAB workspace to be able to access it.
  1 Comment
Jiri Minarik
Jiri Minarik on 18 Sep 2019
This doesn't work for me. I tried dropping it to MATLAB workspace and nothing happend. I'm using R2018b. Anyone got any luck with that or how to do it differently?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!