Main Content

Check usage of graphical functions in Stateflow

Check ID: mathworks.jmaab.jc_0804

Guideline: jc_0804: Prohibited use of recursive calls with graphical functions


Identifies the graphical function calls made inside the graphical function.

This check requires Simulink® Check™ and Stateflow® licenses.

Check Parameterization

This check does not include sub-checks because the MAB modeling guideline provides only one sub ID.

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

  • JMAAB — a

Results and Recommended Actions

ConditionRecommended Action
One or more calls to graphical functions are made inside a graphical function.Remove calls to graphical functions made inside the graphical function.

Capabilities and Limitations

  • Does not run on library models.

  • Allows exclusions of blocks or charts.

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

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