Simulink to State Equations

So I have been using the following code to find the state equations (ABCD) of my simulink model when the variables have been defined with numeric values.
SYS = linmod('Part2_A'); Tss=ss(SYS.a,SYS.b,SYS.c,SYS.d)
However I need to get the state equations in terms of the variables I am using in the simulink model. I have tried using the following to define the variables, but it will not work.
syms A; syms B; % ect...
Does anybody know how I can do this? Thanks.

Respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 4 de Dic. de 2013

Editada:

el 4 de Dic. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by