Simulink Control Design™ - MathWorks

(Tuis.) #1

Order States in Linearized Model


Control State Order of Linearized Model using Linear Analysis
Tool

This example shows how to control the order of the states in your linearized model. This
state order appears in linearization results.

(^1) Open and configure the model for linearization by specifying linearization I/Os and an
operating point for linearization. You can perform this step as shown, for example, in
“Linearize at Trimmed Operating Point” on page 2-90. To preconfigure the model at
the command line, use the following commands.
sys = 'magball';
open_system(sys)
sys_io(1) = linio('magball/Controller',1,'input');
sys_io(2) = linio('magball/Magnetic Ball Plant',1,'openoutput');
setlinio(sys,sys_io)
opspec = operspec(sys);
op = findop(sys,opspec);
These commands specify the plant linearization and compute the steady-state
operating point.
(^2) Open the Linear Analysis Tool for the model.
In the Simulink model window, select Analysis > Control Design > Linear
Analysis.
(^3) Open the Options for exact linearization dialog box.
In the Linear Analysis tab, click More Options.


Order States in Linearized Model..................... 2-

Free download pdf