getBlockPaths
Package: linearize.advisorObtain list of blocks in LinearizationAdvisor objectWhen you linearize a Simulink model, you can create a LinearizationAdvisor object
that contains diagnostic information about individual block linearizations, which you can
use for troubleshooting linearization results. To obtain a list of the blocks in the
LinearizationAdvisor object, use the getBlockPaths function.Syntax
blocks = getBlockPaths(advisor)Description
blocks = getBlockPaths(advisor) returns a list of block paths for the blocks in the
LinearizationAdvisor object advisor.Examples
Obtain List of Numerically Perturbed BlocksLoad Simulink model.mdl = 'scdspeed';
load_system(mdl)Linearize model and obtain 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;15 Alphabetical List