The model already includes a Trigger-Based Operating Point Snapshot block from the
Simulink Control Design library. This block linearizes the model when it receives
rising edge trigger signals from the Generate settling time events block.
(^2) Compute the steady-state operating point at 60 time units.
op = findop(sys,60);
This command simulates the model for 60 time units, and extracts the operating
points at each simulation event that occurs during this time interval.
(^3) Define the portion of the model to linearize.
io(1) = linio('scdspeedtrigger/Reference Steps',1,'input');
io(2) = linio('scdspeedtrigger/rad//s to rpm',1,'output');
(^4) Linearize the model.
linsys = linearize(sys,op(1:3),io);