Output times
Description
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
Settings
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.
Tips
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 in the MATLAB® Command Window.
For additional information on how Simulink software calculates outputs for the Output options
Produce specified output only
andProduce additional output
options, see Samples to Export for Variable-Step Solvers.
Dependency
This parameter is enabled only if the value of Output options
is Produce additional output
or Produce
specified output only
.
Programmatic Use
Parameter:
OutputTimes |
Type: character vector |
Value: any valid value |
Default:
'[]' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No recommendation |
Safety precaution | No recommendation |