Main Content

Model Configuration Parameters: Data Import/Export

The Data Import/Export pane of the Configuration Parameters dialog box includes parameters that configure options for loading data into your model and logging simulation results. The parameters allow you to load input signal data and initial state data into your model and to export output, signal, and state data from simulations.

You can use built-in or custom MATLAB® functions to generate input signals for a system and to graph, analyze, and postprocess simulation results.

ParameterDescription

Input

Option to load external input data for simulation using top-level input ports

Initial state

Option to specify initial model state or operating point for simulation

Time

Option to log time values for simulation

States

Option to log block state values during simulation

Output

Option to log data for top-level output ports

Final states

Option to log final state values

Format

Format for logged states, output, and final states data

Limit data points to last

Option to log only last n data points for outputs, states, and time

Decimation

Option to apply decimation factor for logged output, state, and time data

Save final operating point

Option to save complete model operating point when simulation is paused or stopped

Signal logging

Option to log data for signals marked for logging in model

Data stores

Option to log data for Data Store Memory blocks

Log Dataset data to file

Option to log data that uses Dataset format to MAT file

Output options

Options to produce output values at specified times in variable-step simulation

Refine factor

Option to produce additional output values between simulation time steps

Output times

Option to specify times for which variable-step simulation produces output values

Single simulation output

Option to return simulation results as single Simulink.SimulationOutput object

Logging intervals

Option to specify time intervals in which to log simulation data

Record logged workspace data in Simulation Data Inspector

Option to send data logged in format other than Dataset to Data Inspector at end of simulation

These configuration parameters are in the Advanced parameters section.

ParameterDescription

Dataset signal format

Option to specify whether values for Dataset elements use timeseries or timetable format

Stream To Workspace blocks

Option to specify whether data logged using To Workspace blocks streams to the Simulation Data Inspector

Related Topics