Limit data points

Description

Limit the number of data points logged to the MATLAB® workspace.

Category: Data Import/Export

Settings

Default: Off, 1000

On

Limits the number of data points logged to the MATLAB workspace to the specified number.

Specify the maximum number of data points to log to the MATLAB workspace. At the end of the simulation, the MATLAB workspace contains the last N points generated by the simulation.

Off

Does not limit the number of data points logged to the MATLAB workspace.

Tips

  • Saving data to the MATLAB workspace can consume memory. Use this parameter to limit the number of samples saved to help avoid this problem.

  • You can also apply a Decimation factor to reduce the number of saved samples.

Command-Line Information

Parameter: LimitDataPoints
Value: 'on' | 'off'
Default: 'off'
Parameter: MaxDataPoints
Type: character vector
Value: any valid value
Default: '1000'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo recommendation
Safety precautionNo recommendation

Related Topics