The linear model states appear in the specified order.
Control State Order of Linearized Model using MATLAB Code
This example shows how to control the order of the states in your linearized model. This
state order appears in linearization results.
(^1) Load and configure the model for linearization.
sys = 'magball';
load_system(sys);
sys_io(1)=linio('magball/Controller',1,'input');
sys_io(2)=linio('magball/Magnetic Ball Plant',1,'openoutput');
opspec = operspec(sys);
op = findop(sys,opspec);
These commands specify the plant linearization and compute the steady-state
operating point.
2 Linearize the model, and show the linear model states.
Order States in Linearized Model