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). The parameters allow you to import input signal and initial state data from a workspace and export output signal and state data to the MATLAB® workspace during simulation. This capability allows you to use standard or custom MATLAB functions to generate a simulated system's input signals and to graph, analyze, or otherwise postprocess the system's outputs.
Specify the data to load from a workspace before simulation begins.
Specify the data to save to the MATLAB workspace after simulation completes.
Loads input data from a workspace before the simulation begins.
Loads the model initial states from a workspace before simulation begins.
Saves simulation time data to the specified variable during simulation.
Saves state data to the specified variable during a simulation.
Saves signal data to the specified variable during simulation.
Saves the model states at the end of a simulation to the specified variable.
Select the data format for saving states, output, and final states data.
Log only the last n data points for outputs and states.
Specify decimation factor, n, for output and states logging such that only every n points are logged.
At the end of a simulation, Simulink® saves the complete set of states of the model, including logged states.
Globally enable or disable signal logging for the model.
Globally enable or disable logging of Data Store Memory block variables for the model.
Log data to MAT-file.
Select options for generating additional output signal data for variable-step solvers.
Specify how many points to generate between time steps to refine the output.
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.
Enable the single-output format of the
Set intervals for logging
Specify whether to send logged data to the Simulation Data Inspector when a simulation pauses or completes.
These configuration parameters are in the Advanced parameters section.
Specify whether data logged using To Workspace blocks streams to the Simulation Data Inspector.