Simulink Control Design™ - MathWorks

(Tuis.) #1

highlight


Package: linearize.advisor


Highlight linearization path in Simulink model


Syntax


highlight(advisor)


Description


highlight(advisor) highlights the blocks on the linearization path for the model
linearization associated with a LinearizationAdvisor object. The software identifies
blocks that are on or off the linearization path. Also, for blocks that are on the
linearization path, the software indicates whether they contribute to the linearization
result.


Examples


Highlight Linearization Path


Load Simulink model.


mdl = 'scdspeed';
load_system(mdl)


Linearize the model and obtain the LinearizationAdvisor object.


opts = linearizeOptions('StoreAdvisor',true);
io(1) = linio('scdspeed/throttle (degrees)',1,'input');
io(2) = linio('scdspeed/rad//s to rpm',1,'output');
[sys,op,info] = linearize(mdl,io,opts);
advisor = info.Advisor;


Highlight the linearization path.


highlight
Free download pdf