linqueryHasDiagnostics
Query object for finding blocks that have diagnostic messages regarding their linearization
Description
linqueryHasDiagnostics
creates a custom query object for
finding all the blocks in a linearization result that have diagnostic messages regarding
their linearization.
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.
Creation
Description
creates a query object for finding all the blocks in a
query
= linqueryHasDiagnosticsLinearizationAdvisor
object that have diagnostic messages
regarding their linearization.
Properties
Usage
After creating a linqueryHasDiagnostics
query object, you can:
Find all the blocks in a
LinearizationAdvisor
object that have diagnostic messages regarding their linearization by using thelinqueryHasDiagnostics
query directly with thefind
command.Create a
CompoundQuery
object by logically combining thelinqueryHasDiagnostics
query with other query objects.
Object Functions
find | Find blocks in linearization results that match specific criteria |
Examples
Alternative Functionality
App
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.
Version History
Introduced in R2017b