Main Content

Check usage of recursions

Check ID: mathworks.hism.hisf_0004


Identifies the usage of recursive behavior.


The undirected events are known to cause recursion in the generated code.

Available with Simulink® Check™.

This check requires a Stateflow® license.

Results and Recommended Actions

ConditionRecommended Action
One or more entities were involved in recursions.Remodel the entities to remove recursions.

Capabilities and Limitations

  • This check can only be run from root level of the model.

  • 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