jc_0281: Trigger signal names
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — No recommendations
JMAAB — a1/a2/a3/a4, b1/b2/b3/b4
MATLAB Versions
All
Rule
Sub ID a1
The name of the conditional input block at the destination shall include the name of the block at the origin of the trigger signal
Not Applicable
Sub ID a2
The name of the conditional subsystem at the destination shall include the name of the block at the origin of the trigger signal.
Not Applicable
Sub ID a3
The name of the conditional input block at the destination shall include the name of the trigger signal.
Not Applicable
Sub ID a4
The name of the conditional subsystem at the destination shall include the name of the trigger signal.
Not Applicable
Sub ID b1
The name of the Stateflow block event at the destination shall include the name of the block at the origin of the trigger signal.
Not Applicable
Sub ID b2
The name of Stateflow Chart (Stateflow) at the destination shall include the name of the block at the origin of the trigger signal.
Not Applicable
Sub ID b3
The name of the Stateflow block event at the destination shall include the name of the trigger signal.
Not Applicable
Sub ID b4
The name of the trigger signal and the Stateflow Chart (Stateflow) name at the destination must include the same name. The name of the Chart block at the destination shall include the name of the trigger signal.
Not Applicable
Rationale
Sub ID a1, a2, a3, a4, b1, b2, b3, b4:
Reduces connection mistakes.
Increases understanding of the relationship between the origin of the trigger signal and the destination.
Verification
Model Advisor check: Check trigger signal names (Simulink Check)
Last Changed
R2020a
See Also
Sub ID a1, a2, a3, a4, see MISRA AC SLSF 026C
Use Events to Execute Charts (Stateflow)
Version History
Introduced in R2020a