matlab how to make the program wait 3 seconds code example Example: wait time matlab pause(1) %time delay in sec