Share parameters with Simulink® to avoid hard-coded values.

To create easily modified constants within your Stateflow® chart, use parameters that have been defined in the MATLAB® workspace or inherited from a Simulink block parameter. When you use a masked subsystem with your Stateflow chart, you can change parameters before simulation.


Set Data Properties

Explains the fields of the Data dialog box for setting the properties of a data

Use Data Types in Stateflow

Learn how to specify the type of your Stateflow data

Size Stateflow Data

Learn different ways to specify the size of your Stateflow data

Handle Integer Overflow for Chart Data

Describes how to handle integer overflow for chart data

Identify Data Using Dot Notation

How to use dot notation for qualified data names

Detect Unused Data in the Symbols Window

The Symbols window indicates unused data, messages, functions, and events with a yellow warning icon.

Best Practices for Using Data in Charts

Provides best practices for using data in charts

Was this topic helpful?