Check usage of For Iterator blocks
Check ID:
mathworks.hism.hisl_0008
Description
This check inspects the usage of For Iterator blocks.
Available with Simulink® Check™.
Results and Recommended Actions
Condition | Recommended Action |
---|---|
The model or subsystem contains a For Iterator block that has variable iterations. This condition can lead to unpredictable execution times or infinite loops in the generated code. | For the identified For Iterator blocks, do one of the following:
|
Capabilities and Limitations
Does not run on library models.
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
.Allows exclusions of blocks and charts.
See Also