tic matlab code code example Example: tic toc commands tic #start time counting toc #display time elapsed since last tic