Simulink Control Design™ - MathWorks

(Tuis.) #1
Number of block states, specified as a nonnegative integer.

QueryType — Query type
character vector

Query type, specified as a character vector of the form 'Has <N> States', where <N>
is equal to NumStates.

Description — Query description
character vector

Query description, specified as a character vector of the form 'Blocks with <N>
States, where <N> is equal to NumStates. You can add your own description to the
query object using this property.

Usage


After creating a linqueryHasOrder query object, you can:


  • Find all the blocks in a LinearizationAdvisor object that have the specified
    number of states by using the linqueryHasOrder query directly with the find
    command.

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


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

Examples


Find All Blocks with Two States

Load the Simulink model.

mdl = 'scdspeed';
load_system(mdl)

17 Objects — Alphabetical List

Free download pdf