|MATLAB Function Reference|
Wait until a timer stops running
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
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.