toc: Timer function (as in MATLAB)

Description Usage Arguments Note See Also Examples

Description

Function to stop a timer. Start with tic().

Usage

1
toc(echo = TRUE, name = ".poped_savedTime")

Arguments

echo

Print time to screen?

name

The saved name of the time object.

Note

This is a modified version of the same function in the matlab R-package.

See Also

Other MATLAB: cell(), diag_matlab(), feval(), fileparts(), isempty(), ones(), randn(), rand(), size(), tic(), zeros()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
tic()
toc()

tic(name="foo")
toc()
tic()
toc()
toc()
tic()
toc(name="foo")

PopED documentation built on May 21, 2021, 5:08 p.m.