NA-MAAB — No recommendations
JMAAB — a
All
To make all actions in the conditions explicit, these block parameters shall be set as follows :
For If blocks, select Show else condition
For Switch Case blocks, select Show default case
Not Applicable
Using default behavior in the Switch Case block.
Not using default behavior in the Switch Case block.
Sub ID a:
Determining whether there is pointless processing or if something is
missing from the design (such as a missing description) is easier when the
processing of exceptions (else
,
default
) is explicitly set in the model.
Model Advisor check: Check default/else case in Switch Case blocks and If blocks (Simulink Check)
R2020a
JMAAB guideline jc_0656, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.