Main Content

Check naming of ports in Stateflow charts

Check ID: mathworks.hism.hisf_0016

Description

This check identifies the mismatches between names of Stateflow ports and associated signals. The reusable Stateflow blocks can have different port names.

Available with Simulink® Check™.

This check requires a Stateflow® license.

Results and Recommended Actions

ConditionRecommended Action
Names of the input and output ports of Stateflow charts are not the same as the names of the signals connected.Make sure that the names of the input and output ports of Stateflow charts are same as the names of the signals connected.

Capabilities and Limitations

  • This check does not analyze port names of Stateflow Truth Tables or Stateflow State Transition Tables.

  • This check considers reusable Stateflow charts as library linked charts and are not flagged.

  • This check does not flag signals without names.

  • 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