Description — Query description
'Blocks on the Linearization Path' (default) | character vector
Query description, specified as 'Blocks on the Linearization Path'. You can add
your own description to the query object using this property.
Usage
After creating a linqueryIsOnPath query object, you can:
- Find all the blocks in a LinearizationAdvisor object that are on the linearization
path by using the linqueryIsOnPath query directly with the find command. - Create a CompoundQuery object by logically combining the linqueryIsOnPath
query with other query objects.
Object Functions
find Find blocks in linearization results that match specific criteria
Examples
Find All Blocks On Linearization Path
Load the 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;
Create query object, and find all the linearized blocks on the linearization path.
linqueryIsOnPath