Main Content

Division by singular matrix

Description

Select the diagnostic action to take if the Product, Matrix Multiply block detects a singular matrix while inverting one of its inputs in matrix multiplication mode.

Category: Diagnostics

Settings

Default: none

none

Simulink® software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Tips

For models referenced in Accelerator mode, Simulink ignores the Division by singular matrix parameter setting if you set it to a value other than None.

You can use the Model Advisor to identify referenced models for which Simulink changes configuration parameter settings during accelerated simulation.

  1. In the Simulink Editor, in the Modeling tab, click Model Advisor, then click OK.

  2. Select By Task.

  3. Run the Check diagnostic settings ignored during accelerated model reference simulation check.

Command-Line Information

Parameter: CheckMatrixSingularityMsg
Value: 'none' | 'warning' | 'error'
Default: 'none'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Related Topics