NA-MAAB — a2
JMAAB — a1/a2
All
Unused action ports shall connect to Terminator block when these conditions are met:
Past value is retained
Merge block and a conditional flow block, such as an If or Switch Case block, are used to switch functions.
Not Applicable
A feedback loop using a Delay block shall be implemented when these conditions are met:
Past value is retained
Merge block and a conditional flow block, such as an If or Switch Case block, are used to switch functions.
Not Applicable
Sub ID a1:
Improves code efficiency.
Connections to Terminator block can be used
when past values are held other than by the default
(else
).
Sub ID a2:
Retaining past values is explicit.
Adherence to this modeling guideline cannot be verified by using a Model Advisor check.
R2020a
JMAAB guideline jc_0657, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.