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.
In the Simulink Editor, in the Modeling tab, click Model Advisor, then click OK.
Select By Task.
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
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |