Simulink Control Design™ - MathWorks

(Tuis.) #1

Properties


QueryType — Query type
'Has Diagnostics' (default) | character vector

Query type, specified as 'Has Diagnostics'.

Description — Query description
'Blocks that have Linearization Diagnostic Messages' (default) | character
vector

Query description, specified as 'Blocks that have Linearization Diagnostic
Messages'. You can add your own description to the query object using this property.

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 the linqueryHasDiagnostics
    query directly with the find command.

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


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

Examples


Find All Blocks with Linearization Diagnostic Messages

Load the Simulink model.

mdl = 'scdpendulum';
load_system(mdl)

17 Objects — Alphabetical List

Free download pdf