Check placement of Label String in Transitions
Guideline: jc_0770: Position of transition label
Checks the placement of Stateflow® transition labels.
The Stateflow signal label must always be at the origin of the signal or at the midpoint of the signal transition line.
This check requires a Simulink® Check™ and Stateflow license.
This check contains sub-checks that correspond to the sub IDs specified in the MAB and JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.
For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:
NA-MAAB — No recommendations
JMAAB — a1/a2
Sub-check jc_0770_a1 is selected by default.
Results and Recommended Actions
|Guideline Sub ID
|jc_0770_a1: Transition labels should be placed near the point of origin of the transition
|One or more Stateflow transitions do not have label string placed near the origin of the transition.
|Make sure to place the Stateflow labels near the point of origin of the transition.
|jc_0770_a2: Transition labels should be placed near center of the transition
|One or more Stateflow transitions do not have label string placed near the center of the transition.
|Make sure to place the Stateflow labels near the mid-point (center) of the transition.
Capabilities and Limitations
Runs on library models.
Allows exclusions of blocks and charts.
Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to