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!

Respuestas (1)

Arkadiy Turevskiy
Arkadiy Turevskiy el 27 de Sept. de 2013
Editada: Arkadiy Turevskiy el 27 de Sept. de 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 comentario

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?

Iniciar sesión para comentar.

Preguntada:

el 4 de Jul. de 2013

Comentada:

el 18 de Sept. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by