Check definition of Stateflow data
Guideline: db_0125: Stateflow® local data
Identifies the Scope value set on Stateflow data defined at machine level.
This check requires a Simulink® Check™ and Stateflow licenses.
This check contains sub-checks that correspond to 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 — a, b, c, d
JMAAB — a, b, c, d
Results and Recommended Actions
|Guideline Sub ID
|db_0125_a: Check for Stateflow data with Scope set to Local at machine level
|Stateflow data with Local Scope defined at machine level
|Do not define data with Local Scope at machine level.
|db_0125_b: Check for Stateflow data with Scope set to Constant at machine level
|Stateflow data with Constant Scope defined machine level
|Do not define data with Constant Scope at machine level.
|db_0125_c: Check for Stateflow data with Scope set to Parameter at machine level
|Stateflow data with Parameter Scope defined at machine level
|Do not define data with Parameter Scope at machine level.
|db_0125_d: Check for duplicate Stateflow Data names with Scope set to Local on a Stateflow block hierarchy
|Stateflow data defined in a chart have multiple definition on the same Stateflow block hierarchy
|Use unique Stateflow data names in the hierarchy.
Capabilities and Limitations
Runs on library models.
Analyzes content of library linked blocks.
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to