Simulink Control Design™ - MathWorks

(Tuis.) #1

BlockDiagnostic


Diagnostic information for individual block linearization

Description


When you linearize a Simulink model, you can create a LinearizationAdvisor object
that contains BlockDiagnostic objects. Each BlockDiagnostic object contains
diagnostic information regarding the linearization of the corresponding Simulink block.
You can troubleshoot the block linearization by examining the BlockDiagnostic object
properties.

Creation


To access block diagnostic information in a LinearizationAdvisor object, use the
getBlockInfo function. Using this function, you can obtain either a single
BlockDiagnostic object or multiple BlockDiagnostic objects. For example, see:


  • “Obtain Diagnostics for Potentially Problematic Blocks” on page 17-4

  • “Obtain Diagnostics Using Block Names” on page 17-5


Properties


IsOnPath — Flag indicating whether the block is on the linearization path
'Yes' | 'No'

Flag indicating whether the block is on the linearization path, specified as one of the
following:


  • 'Yes' — Block is on linearization path

  • 'No' — Block is not on linearization path


The linearization path connects the linearization inputs to the linearization outputs. To
view the linearization path in the Simulink model, use the highlight function.

17 Objects — Alphabetical List

Free download pdf