Simulink Control Design™ - MathWorks

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

QueryType — Query type
character vector

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

Description — Query description
character vector

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

Usage


After creating a linqueryHasInputs query object, you can:


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

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


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

Examples


Find All Blocks with Two Inputs

Load the Simulink model.

mdl = 'scdspeed';
load_system(mdl)

17 Objects — Alphabetical List

Free download pdf