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.

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.

Resolve Data Properties from Simulink Signal Objects

Configure your chart data to inherit properties from Simulink signals.

Featured Examples