how to make matlab pause when it running the coding

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)

Hi!
Use one of the commands "pause" or "input".

3 Comments

@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
ok, thanks, and sorry for the trouble...
@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.

Sign in to comment.

Categories

Asked:

on 9 Oct 2013

Commented:

Jan
on 11 Oct 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!