Stateflow | ![]() ![]() |
Defining Output to Simulink Event Triggers
Overview
Stateflow block output events connect to other Simulink blocks or Stateflow blocks. There are two main options for trigger type:
Simulink controls the execution of edge-triggered subsystems. The function call mechanism is a means by which Stateflow executes a subsystem essentially outside of Simulink's direct control. Use a function call trigger to have the Stateflow block control the execution of the connected Simulink block. Function call subsystems are never executed directly by Simulink.
See these examples for more information:
![]() | Defining a Continuous Stateflow Block | Defining Function Call Output Events | ![]() |