MATLAB Function Reference Previous page   Next Page
wait

Wait until a timer stops running

Syntax

Description

wait(obj) blocks the MATLAB command line and waits until the timer, represented by the timer object obj, stops running. When a timer stops running, the value of the timer object's Running property changes from 'on' to 'off'.

If obj is an array of timer objects, wait blocks the MATLAB command line until all the timers have stopped running.

If the timer is not running, wait returns immediately.

See Also

timer, start, stop


Previous page  voronoin waitbar Next page

© 1994-2005 The MathWorks, Inc.