Main Content

Check Stateflow chart update

Check ID: mathworks.PLC.ChartUpdateCheck

Check that the model does not have Stateflow® charts containing update rates set to Continuous.

Description

Simulink® PLC Coder™ does not support code generation for Stateflow charts that have continuous update rates.

This check generates a warning when the model contains Stateflow charts that have continuous update rate.

Available with Simulink PLC Coder.

Results and Recommended Actions

ConditionRecommended Action
Stateflow charts not supported by Simulink PLC Coder.Change the update method of the Stateflow charts to Discrete.

Capabilities and Limitations

  • Analyzes content in the selected subsystem only.

  • Exclusion of blocks and charts is not supported.