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.

Topics

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.

Resolve Undefined Symbols in Your Chart

Detect and add undefined data, events, and messages.

Set Data Properties

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

Identify Data by Using Dot Notation

Specify data by its location in the chart hierarchy.

Featured Examples