toc function

Implementation of Matlab toc() command

Implementation of Matlab toc() command

Used in conjunction with tic() to find the elapsed time when code is executed.

toc()

Returns

time in seconds since tic() was called

Examples

tic() Sys.sleep(3) toc()

See Also

tic

  • Maintainer: John Harrold
  • License: BSD_2_clause + file LICENSE
  • Last published: 2025-01-07