Option to apply decimation factor for logged output, state, and time data
Model Configuration Pane: Data Import/Export
Specify the decimation factor, n, such that every nth data point is logged for outputs, states, and time.
1(default) | positive integer greater than zero
With the default value
1, all data points are logged for outputs, states, and time.
The specified value must be a positive integer greater than zero.
The value of this parameter is not tunable during simulation.
For some models and simulation conditions, logging can produce large amounts of data. Use this parameter to reduce the number of samples logged when a reduced effective sample rate is sufficient.
You can also use the Limit data points to last parameter to reduce the number of sample values saved for output, state, and time logging.
For more information about configuring which data points are logged for different logging techniques, see Specify Signal Values to Log.
The table summarizes recommended values for this parameter based on considerations related to code generation.
|Safety precaution||No recommendation|
|Type: string | character vector|
|Value: positive integer greater than zero|
Introduced before R2006a