how to make matlab pause when it running the coding
Show older comments
i got a question here, how to make matlab pause when it running the coding? i mean when it do till certain step it will pause for awhile automatically and continue the progress when press certain button that we set?
Answers (1)
Simon
on 9 Oct 2013
2 votes
Hi!
Use one of the commands "pause" or "input".
3 Comments
Jan
on 9 Oct 2013
@Onion Lim: Is it surprising that the command pause causes a pause? So please use the possibility to search in the internet and in Matlab's documentation before you ask the forum:
docsearch pause
ONION LIM
on 9 Oct 2013
Jan
on 11 Oct 2013
@Onion Lim: This does not mean troubles for me, but you can get a solution faster, when you learn where and how to search for it.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!