MATLAB: How does linmod2 order the states when the mdl contains a ss-block

Control System Toolboxlinmod2ordersimulinkstate vector

Hi, my simulink model contains integrators and a ss-block (e.g. 2 states). When I use linmod2, I do not know the state-vector of the linearized model. How does linmod2 arrange the states in the state-vector, e.g. [integrator1output integrator2output state1fromssblock state2fromssblock] vs. [integrator1output state1fromssblock state2fromssblock integrator2output] Thanks for any reply!

Best Answer

You can use the Linearize command to obtain a state space system where the states are labeled. The big difference is the linearize function is part of the Simulink Control Design toolbox.