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!

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2013년 9월 27일
편집: Arkadiy Turevskiy 2013년 9월 27일
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

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?

댓글을 달려면 로그인하십시오.

질문:

2013년 7월 4일

댓글:

2019년 9월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by