Check global variables in graphical functions
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
|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
Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
Allows exclusions of blocks and charts.