Check for Stateflow chart settings
R2026bCheck ID:
com.mathworks.HDL.ModelChecker.runStateflowChartSettingsChecks
Check ID:
com.mathworks.HDL.ModelAdvisor.runStateflowChartSettingsChecks
Check HDL-compatible settings for Stateflow® Chart blocks.
Description
This check verifies Stateflow Chart block settings for HDL code generation. The check displays an error if these settings are incompatible:
Support variable-size arrays property is enabled.
Export chart level functions property is enabled.
The check displays a warning if these settings are not recommended for HDL code generation:
Execute (enter) chart at initialization property is disabled.
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.
Execute (enter) chart at initialization property is enabled.
For more information, see Chart (Stateflow).
Available with Simulink®, HDL Coder™, Fixed-Point Designer™, and MATLAB® Coder™.
Results and Recommended Actions
To fix this check, click Modify Settings. The code generator updates the Stateflow Chart settings to be compatible with HDL code generation.
Capabilities and Limitations
Does not run on library models.
Runs on Stateflow charts.
See Also
Chart (Stateflow)