www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/PauseExecutionExample.m

    %% Pause Execution
% Pause execution for 5 seconds. MATLAB blocks, or hides, the command
% prompt (|>>|) while it pauses execution.
n = 5;
pause(n)