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:
Properties
Usage
You can troubleshoot the linearization of a Simulink model by examining the diagnostics for individual block linearizations. To
do so, examine the properties of BlockDiagnostic
objects returned from
getBlockInfo
. For more information, see Troubleshoot Linearization Results at Command Line.