jc_0806: Detecting incorrect calculation results
Sub ID Recommendations
NA-MAAB — a, b, c
JMAAB — a, b, c
MATLAB Versions
All
Rule
Sub ID a
Configuration parameter Division by singular matrix
shall be set to Error
.
Not Applicable
Sub ID b
Configuration parameter Inf or NaN block output shall
be set to Error
.
Not Applicable
Sub ID c
(R2014b and later) These configuration parameters shall be set to
Error
:
(R2010b to R2014a) Configuration parameter Detect
overflow shall be set to Error
.
Not Applicable
Rationale
Sub IDs a, b, c:
Allows detection of operations with invalid values.
Verification
Model Advisor check: Check diagnostic settings for incorrect calculation results (Simulink Check)
Last Changed
R2020a
See Also
JMAAB guideline jc_0806, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Version History
Introduced in R2020a