Main Content

Check for Stateflow chart settings

Check ID: com.mathworks.HDL.ModelChecker.runStateflowChartSettingsChecks

Check ID: com.mathworks.HDL.ModelAdvisor.runStateflowChartSettingsChecks

Check HDL-compatible settings for Stateflow® Chart blocks.

Description

This check displays an error message if your model uses Stateflow Chart blocks that have settings incompatible for HDL code generation. The check passes when you select these settings for the Stateflow charts:

  • Support variable-size arrays property is disabled.

  • Export chart level functions property is disabled.

For more information, see Chart (Stateflow).

Available with Simulink®, HDL Coder™, Fixed-Point Designer™, and MATLAB® Coder™.

Results and Recommended Actions

To fix this failed check, click Modify Settings. The code generator updates the Stateflow Chart settings to be compatible with HDL code generation.

Capabilities and Limitations

  • Does not runs on library models.

  • Runs on Stateflow charts.

See Also

Chart (Stateflow)