Check condition actions and transition actions in Stateflow
Check ID:
mathworks.jmaab.jc_0753
Guideline: jc_0753: Condition actions and transition actions in Stateflow®
Description
Checks if the use of condition actions and transition actions are uniform within the same chart.
This check requires a Simulink® Check™ and Stateflow license.
Check Parameterization
This check contains sub-checks that correspond to the sub IDs specified in the JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.
For reference, the guideline sub-ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:
NA-MAAB — a1/a2
JMAAB — a1/a2
Note
Sub-check jc_0753_a1 is selected by default.
Results and Recommended Actions
Guideline Sub ID | Condition | Recommended Action |
---|---|---|
jc_0753_a1: Check transition actions in Stateflow charts. | The following Stateflow charts use transition actions. | Do not use transition actions in Stateflow charts. |
jc_0753_a2: Check usage of condition actions and transition actions within same Stateflow chart. | Condition actions and transition actions are mixed within the same chart. | Use of condition actions or transition actions must be uniform within the same chart. |
Capabilities and Limitations
Runs on library models.
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
graphical
.Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
on
.Allows exclusions of blocks and charts.