Main Content

Check scoping of Stateflow data objects

mathworks.hism.hisf_0017

Dependencies: Simulink® Check™ and Stateflow®

Usage: High-Integrity System Modeling

Guideline: hisf_0017: Stateflow data object scoping

Description

Use this check to identify Stateflow data objects with local scope that are not scoped at the chart level or below.

Recommended Actions and Results

Review the violations that are flagged by the check and the recommended action for fixing the issue. After applying the changes, save the model and rerun the check analysis.

Modeling ConditionRecommended Action
One or more Stateflow data objects with local scope are not defined at the chart level or below.Make sure to define all the Stateflow data objects with local scope at the chart level or below.

Capabilities and Limitations

  • Does not analyze content of library-linked blocks

  • Does not analyze the content in masked subsystems

  • Allows exclusions of blocks and charts

  • Does not require model compilation

Version History

Introduced in R2020a