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

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)

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

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.

Asked:

on 4 Jul 2013

Commented:

on 18 Sep 2019

Community Treasure Hunt

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

Start Hunting!