statistics
Statistics of past execution periods
Syntax
Description
Here is a sample execution graphic using the default setting,
'slip', for the OverrunAction property in the
Rate object. See OverrunAction (Robotics System Toolbox) for more information on overrun code execution.

The output of statistics is:
stats =
Periods: [0.7 0.11 0.7 0.11]
NumPeriods: 4
AveragePeriod: 0.09
StandardDeviation: 0.0231
NumOverruns: 2Input Arguments
Output Arguments
Version History
Introduced in R2019b
See Also
rosrate | waitfor | rateControl (Robotics System Toolbox)
Topics
- Execute Code at a Fixed-Rate (Robotics System Toolbox)