Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

toc (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the timing class.

Syntax

toc

Description

Stops the stopwatch timer and outputs the elapsed time in seconds. Use toc with tic to determine the computation time of a specific code segment.

Examples

Examples

tic
for i = 1:100000
a = sqrt(2);
end
toc

Related Topics

clock
cputime
tic


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit