Main Content

Troubleshooting Linearization Results

Fix systems and blocks that do not linearize as expected, linearize blocks for specialized applications

If your model does not linearize as expected, you can use the Simulink® Control Design™ troubleshooting tools to diagnose and fix linearization issues. For more information, see Linearization Troubleshooting Overview. When linearizing models in the Model Linearizer or at the command line, you can find blocks in your model that are potentially problematic for linearization. For more information, see Identify and Fix Common Linearization Issues.

Some Simulink blocks can produce poor linearization results. Typically, you must specify custom linearizations for such blocks. For more information, see Specify Individual Block Linearization.

Functions

expand all

adviseFind blocks that are potentially problematic for linearization
findFind blocks in linearization results that match specific criteria
highlightHighlight linearization path in Simulink model
getBlockInfoObtain diagnostic information for block linearizations
getBlockPathsObtain list of blocks in LinearizationAdvisor object
linqueryAdviseQuery object for finding blocks that are potentially problematic for linearization
linqueryAllBlocksQuery object for finding all linearized blocks
linqueryContributesToLinearizationQuery object for finding blocks that contribute to the model linearization result
linqueryHasDiagnosticsQuery object for finding blocks that have diagnostic messages regarding their linearization
linqueryHasInputsQuery object for finding blocks with specified number of inputs
linqueryHasOrderQuery object for finding blocks with specified number of states
linqueryHasOutputsQuery object for finding blocks with specified number of outputs
linqueryHasSampleTimeQuery object for finding blocks with specified sample time
linqueryHasZeroIOPairQuery object for finding blocks with at least one input/output pair that linearizes to zero
linqueryIsBlockSubstitutedQuery object for finding blocks that have custom block linearizations specified
linqueryIsBlockTypeQuery object for finding blocks of the specified type
linqueryIsExactQuery object for finding blocks linearized using their defined exact linearization
linqueryIsNumericallyPerturbedQuery object for finding blocks linearized using numerical perturbation
linqueryIsOnPathQuery object for finding blocks that are on the linearization path
linqueryIsZeroQuery object for finding blocks that linearize to zero

Objects

expand all

LinearizationAdvisorDiagnostic information for troubleshooting linearization results
BlockDiagnosticDiagnostic information for individual block linearization
BlockOperatingPointOperating point at which block is linearized
CompoundQueryComplex query object for finding specific blocks in linearization results

Topics

Troubleshooting Basics

Custom Block Linearizations

Models and Blocks with Special Characteristics