Number of block outputs, specified as a nonnegative integer.
QueryType — Query type
character vector
Query type, specified as a character vector of the form 'Has <N> Outputs', where <N>
is equal to NumOutputs.
Description — Query description
character vector
Query description, specified as a character vector of the form 'Blocks with <N>
Outputs', where <N> is equal to NumOutputs. You can add your own description to the
query object using this property.
Usage
After creating a linqueryHasOutputs query object, you can:
- Find all the blocks in a LinearizationAdvisor object that have the specified
number of outputs by using the linqueryHasOutputs query directly with the find
command. - Create a CompoundQuery object by logically combining the linqueryHasOutputs
query with other query objects.
Object Functions
find Find blocks in linearization results that match specific criteria
Examples
Find All Blocks with Two Outputs
Load the Simulink model.
mdl = 'scdpendulum';
load_system(mdl)
17 Objects — Alphabetical List