FUNCTION REFERENCE
tic
Start a timer or return an independent timer identifier.
Start a timer or return an independent timer identifier.
Syntax
ticSyntax
id = ticSyntax
id = tic()Without an output, starts or replaces the session timer used by toc. With an output, returns an independent timer identifier and leaves the session timer unchanged. Pass that identifier to toc(id).
Example
id=tic; elapsed=toc(id); elapsed>=0 % trueDifferences from MATLAB: Identifiers are positive double values in MatRust; do not depend on their exact value.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.