Main Content

reset

Reset Rate object

Description

reset(rate) resets the state of the Rate object, including the elapsed time and all statistics about previous periods. reset is useful if you want to run multiple successive loops at the same rate, or if the object is created before the loop is executed.

Input Arguments

expand all

rateControl object, specified as a handle. This object contains the information for the desired rate and other information about the execution. See rateControl (Robotics System Toolbox) for more information.

Version History

Introduced in R2019b

See Also

| (Robotics System Toolbox) |

Topics