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.
Define parameters to share constant data with Simulink models and the MATLAB base workspace.
Define the data that a chart stores internally in its own workspace.
Detect and add undefined data, events, and messages.
Specify data properties by using the Property Inspector or the Model Explorer.
Mask a Stateflow chart to customize appearance and initialize parameters.
Create Block Masks (Simulink)