Specify the decimation factor, N
, such that Simulink® outputs data every N
points.
Category: Data Import/Export
Default: 1
With the default value, 1
, all data points are saved.
The specified value must be a positive integer greater than zero.
Simulink outputs data at the specified number of data points. For
example, specifying 2
saves every other data point, while
specifying 10
saves one in ten data points.
Saving data to the MATLAB® workspace can consume memory. Use Decimation to limit the number of saved samples to consume less memory.
You can also use the Limit data points to last parameter to help resolve memory consumption issues.
Parameter: Decimation |
Type: character vector |
Value: any valid value |
Default: '1' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No recommendation |
Safety precaution | No recommendation |