Properties
QueryType — Query type
'All Blocks' (default) | character vector
Query type, specified as 'All Blocks'.
Description — Query description
'All Linearized Blocks' (default) | character vector
Query description, specified as 'All Linearized Blocks'.
Object Functions
find Find blocks in linearization results that match specific criteria
Examples
Find All Linearized Blocks
Load the Simulink model.
mdl = 'scdpwm';
load_system(mdl)
Linearize the model and obtain the LinearizationAdvisor object.
opts = linearizeOptions('StoreAdvisor',true);
[sys,op,info] = linearize(mdl,getlinio(mdl),opts);
advisor = info.Advisor;
Create query object, and find all the linearized blocks.
qAll = linqueryAllBlocks;
advAll = find(advisor,qAll)
advAll =
LinearizationAdvisor with properties:
Model: 'scdpwm'
linqueryAllBlocks