Main Content

Input and Output Data

Create inputs from and outputs to Simulink® models

Share data with other blocks in your Simulink model through input and output port connections. Import initial data values from the MATLAB® base workspace. Specify data scope, type, and other properties through the Property Inspector or the Model Explorer.


Share Data with Simulink and the MATLAB Workspace

Define data to share with Simulink models and the MATLAB base workspace.

Add Stateflow Data

Define the data that a chart stores internally in its own workspace.

Set Data Properties

Specify data properties by using the Property Inspector or the Model Explorer.

Manage Symbols in the Stateflow Editor

Add, delete, and trace nongraphical objects.

Identify Data by Using Dot Notation

Specify data by its location in the chart hierarchy.

Featured Examples