Documentation

Model Configuration Parameters: Data Import/Export

The Data Import/Export category includes parameters for configuring input data for simulation (for example, for Inport blocks) and output data (for example, from Outport blocks).

On the Configuration Parameters dialog box, the following configuration parameters are on the Commonly Used tab on the Data Import/Export pane, or on the All Parameters tab in the Data Import/Export category.

ParameterDescription

Input

Loads input data from a workspace before the simulation begins.

Initial state

Loads the model's initial states from a workspace before simulation begins.

Time

Saves simulation time data to the specified variable during simulation.

States

Saves state data to the specified MATLAB® variable during a simulation.

Output

Saves signal data to the specified MATLAB variable during simulation.

Final states

Saves the logged states of the model at the end of a simulation to the specified MATLAB variable.

Format

Select the data format for saving states, output, and final states data.

Limit data points

Limit the number of data points to export to the MATLAB workspace.

Decimation

Specify that Simulink® software output only every N points, where N is the specified decimation factor.

Save complete SimState in final state

At the end of a simulation, Simulink saves the complete set of states of the model, including logged states, to the specified MATLAB variable.

Signal logging

Globally enable or disable signal logging for this model.

Data stores

Globally enable or disable logging of Data Store Memory block variables for this model.

Log Dataset data to file

Log data to MAT-file.

Output options

Select options for generating additional output signal data for variable-step solvers.

Refine factor

Specify how many points to generate between time steps to refine the output.

Output times

Specify times at which Simulink software should generate output in addition to, or instead of, the times of the simulation steps taken by the solver used to simulate the model.

Single simulation output

Enable the single-output format of the sim command.

Logging intervals

Set intervals for logging

Record logged workspace data in Simulation Data Inspector

Specify whether to send signals marked for logging to the Simulation Data Inspector after simulation pauses or completes.

Write streamed signals to workspace

Specify whether to write streamed signal data to the base workspace

Related Examples

Was this topic helpful?