This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Data, Events, and Messages

Configure input and output signals, event triggers, and messages

Stateflow® shares data with your Simulink® model through input and output ports. You can trigger your Stateflow chart from events in Simulink. From Stateflow, you can output events to activate Simulink subsystems. You can model conditional and time-based logic to call Simulink and MATLAB functions.

  • Input and Output Data
    Create inputs from and outputs to Simulink models
  • Parameters
    Share parameters with the MATLAB® workspace to avoid hard-coded values
  • Active State Data
    Output self, child, or leaf active state data to monitor chart activity
  • Data Store Memory
    Share global data across multiple charts or models
  • Bus Signals
    Manage large data structures
  • Events
    Create triggers to activate other systems
  • Messages
    Send messages to pass data between charts