Query object for finding blocks of the specified type
linqueryIsBlockType
creates a custom query object for finding
all the blocks of a specified type in a linearization result.
When you linearize a Simulink® model, you can create a LinearizationAdvisor
object that contains diagnostic information about individual
block linearizations. To find block linearizations that satisfy specific criteria, you can use
the find
function
with custom query objects. Alternatively, you can analyze linearization diagnostics using the
Linearization Advisor in the Model Linearizer. For more information on finding
specific blocks in linearization results, see Find Blocks in Linearization Results Matching Specific Criteria.
After creating a linqueryIsBlockType
query object, you can:
Find all the blocks of a specified type in a LinearizationAdvisor
object by using the
linqueryIsBlockType
query directly with the find
command.
Create a CompoundQuery
object by logically combining the
linqueryIsBlockType
query with other query objects.
find | Find blocks in linearization results that match specific criteria |
You can also create custom queries for finding specific blocks in linearization results using the Linearization Advisor in the Model Linearizer. For more information, see Find Blocks in Linearization Results Matching Specific Criteria.