Stateflow | ![]() ![]() |
Interface to External Sources
Any source of data, events, or code that is outside a Stateflow diagram, its Stateflow machine, or its Simulink model, is considered external to that Stateflow diagram. Stateflow can interface data and events from external sources to your Stateflow chart, as described in the following topics:
See Defining Events and Data, for information on defining events and data.
You can include external source code in the Target Options section of the Target Builder dialog box. (See Building Custom Code into the Target.)
![]() | MATLAB Workspace Interfaces | Exported Events | ![]() |