Simulink Control Design™ - MathWorks

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

Description — Query description
'Blocks that are Numerically Perturbed' (default) | character vector

Query description, specified as 'Blocks that are Numerically Perturbed'. You
can add your own description to the query object using this property.

Usage


After creating a linqueryIsNumericallyPerturbed query object, you can:


  • Find all the blocks in a LinearizationAdvisor object that are linearized using
    numerical perturbation by using the linqueryIsNumericallyPerturbed query
    directly with the find command.

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


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

Examples


Find All Numerically Perturbed Blocks

Load the Simulink model.

mdl = 'scdpendulum';
load_system(mdl)

Linearize the model and obtain the LinearizationAdvisor object.

opts = linearizeOptions('StoreAdvisor',true);
io = getlinio(mdl);
[sys,op,info] = linearize(mdl,io,opts);
advisor = info.Advisor;

17 Objects — Alphabetical List

Free download pdf