TIC Start Stopwatch Timer
Section: FreeMat Functions
Usage
Starts the stopwatch timer, which can be used to time tasks in FreeMat. Thetic
takes no arguments, and returns no outputs. You must use
toc
to get the elapsed time. The usage is
tic
Example
Here is an example of timing the solution of a large matrix equation.--> A = rand(100); --> b = rand(100,1); --> tic; c = A\b; toc ans = 0.0240