Suspend the execution of the program for n seconds.
If invoked without an input arguments then the program is suspended until a character is typed.
n is a positive real value and may be a fraction of a second, for example:
tic; pause (0.05); toc -| Elapsed time is 0.05039 seconds.
The following example prints a message and then waits 5 seconds before clearing the screen.
disp ("wait please..."); pause (5); clc;
See also: kbhit.
Package: octave