採用MATLAB中的延時函式pause:Halt execution temporarily
實現程式碼如下:
1.pause, by itself, causes M-files to stop and wait for you to
press any key before continuin http://www.hnnedu.com g.
2.pause(n) pauses execution for n seconds before continuing, where
n can be any nonnegative real number.
3.pause(inf) puts you into an infinite loop. To return to the
MATLAB prompt, type Ctrl+C.
4.pause on allows subsequent pause commands to pause
execution.
5.pause off ensures that any subsequent pause or pause(n) statements do not pause execution.
採用MATLAB中的延時函式pause:Halt execution temporarily
實現程式碼如下:
1.pause, by itself, causes M-files to stop and wait for you to
press any key before continuin http://www.hnnedu.com g.
2.pause(n) pauses execution for n seconds before continuing, where
n can be any nonnegative real number.
3.pause(inf) puts you into an infinite loop. To return to the
MATLAB prompt, type Ctrl+C.
4.pause on allows subsequent pause commands to pause
execution.
5.pause off ensures that any subsequent pause or pause(n) statements do not pause execution.