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.
Category: Data Import/Export
Default: []
Enter a matrix containing the times at which Simulink software should generate output in addition to, or instead of, the simulation steps taken by the solver.
If the value of Output options is Produce
additional output
, for the default value []
, Simulink generates
no additional data points.
If the value of Output options is Produce
specified output only
, for the default value []
Simulink generates
no data points.
The Produce additional output
option
generates output at the specified times, as well as at the regular
simulation steps.
The Produce specified output only
option
generates output at the specified times.
Discrete models define outputs only at major time steps. Therefore, Simulink software logs output for discrete models only at major time steps. If the Output times field specifies other times, Simulink displays a warning at the MATLAB® command line.
For additional information on how Simulink software
calculates outputs for the Output options Produce specified
output only
and Produce additional output
options,
see Samples to Export for Variable-Step Solvers.
This parameter is enabled only if the value of Output
options is Produce additional output
or Produce
specified output only
.
Parameter: OutputTimes |
Type: character vector |
Value: any valid value |
Default: '[]' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No recommendation |
Safety precaution | No recommendation |