| Using Stateflow | Search  Help Desk |
Choose Output to Simulink as the Scope
Once you have chosen the chart as the parent, the choice of valid scopes includes: Local, Input from Simulink, or Output to Simulink. Choose Output to Simulink as the Scope to enable send rights to Simulink and any offspring of the chart and to enable receive rights to the Simulink model. When you define an event to be an Output to Simulink, a Simulink output port is added to the Stateflow block. Output events from the Stateflow block to the Simulink model are scalar.