PAUSE Pause Script Execution
Section: Input/Ouput Functions
pausefunction can be used to pause execution of FreeMat scripts. There are several syntaxes for its use. The first form is
This form of the
pause function pauses FreeMat until you press
any key. The second form of the
pause function takes an argument
p is the number of seconds to pause FreeMat for. The pause
argument should be accurate to a millisecond on all supported platforms.
Alternately, you can control all
pause statements using:
which enables pauses and
which disables all
pause statements, both with and without arguments.