Main Content

Check global variables in graphical functions

Check ID: mathworks.hism.hisl_0062

Description

This check Identifies the expressions that read and write to the same global data in a Stateflow.

This check requires Simulink® Check™ and Stateflow licenses.

Results and Recommended Actions

ConditionRecommended Action
One or more expressions operate on graphical functions and global variables used within graphical functions.Remodel the expressions so that the functions and the global variables are not used in the same expression.

Capabilities and Limitations

  • Runs on library models.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to all.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

  • Allows exclusions of blocks and charts.

See Also