Division by singular matrix
Diagnostic action to take if the Matrix Multiply block detects singular matrix
Model Configuration Pane: Diagnostics / Data Validity
Description
The Division by singular matrix parameter specifies the diagnostic action to take if the Product, Matrix Multiply block detects a singular matrix while inverting an input value in matrix multiplication mode.
Settings
none
(default) | warning
| error
none
The software does not issue a diagnostic if the Matrix Multiply block detects a singular matrix.
warning
The software issues a warning if the Matrix Multiply block detects a singular matrix.
error
The software issues an error and terminates the simulation if the Matrix Multiply block detects a singular matrix.
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.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |
Programmatic Use
Parameter: CheckMatrixSingularityMsg |
Type: string | character vector |
Value: "none" | "warning" | "error" |
Default: "none" |
Version History
Introduced before R2006a