Main Content



Loads input data from a workspace for a simulation.

Category: Data Import/Export


Default: Off, [t,u]


Loads data from a workspace.

Specify a MATLAB® expression for the data to be loaded into the model from a workspace. The Simulink® software resolves symbols in the expression as described in Symbol Resolution.

See Load Data to Root-Level Input Ports for information.

The Input parameter does not load input data from a data dictionary. When a model uses a data dictionary and you disable model access to the base workspace, the Input parameter still accesses simulation input variables in the base workspace.


Does not load data from a workspace.


  • If you use a Simulink.SimulationData.Dataset object that includes a object as an element, then the data stored in persistent storage is streamed in from a file. For more information, see Load Big Data for Simulations.

  • You must select the Input check box before entering input data.

  • Simulink software linearly interpolates or extrapolates input values as necessary if the Interpolate data option is selected for the corresponding Inport.

  • The use of the Input box is independent of the setting of the Format list on the Data Import/Export pane.

  • For more information about using the Input parameter to load signal data to root-level inputs, see Load Data to Root-Level Input Ports.

Programmatic Use

Parameter: LoadExternalInput
Value: 'on' | 'off'
Default: 'off'
Parameter: ExternalInput
Type: character vector
Value: any valid value
Default: '[t,u]'

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo recommendation
Safety precautionNo recommendation

Related Topics