pause for 2 sec before accpeting the next command MATLAB code example Example: wait time matlab pause(1) %time delay in sec