Simulink Control Design™ - MathWorks

(Tuis.) #1
Query type, specified as 'Block Substituted'.

Description — Query description
'Blocks Linearized with Block Substitution' (default) | character vector

Query description, specified as 'Blocks Linearized with Block Substitution'.
You can add your own description to the query object using this property.

Usage


After creating a linqueryIsBlockSubstituted query object, you can:


  • Find all the blocks in a LinearizationAdvisor object that have a custom
    linearization specified by using the linqueryIsBlockSubstituted query directly
    with the find command.

  • Create a CompoundQuery object by logically combining the
    linqueryIsBlockSubstituted query with other query objects.


Object Functions
find Find blocks in linearization results that match specific criteria

Examples


Find Blocks with Substitute Linearizations

Load the Simulink model.

mdl = 'scdpwmCustom';
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 blocks with substitute linearizations.

17 Objects — Alphabetical List

Free download pdf