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?

Antworten (1)

Simon
Simon am 9 Okt. 2013

2 Stimmen

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

3 Kommentare

@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...
Jan
Jan am 11 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 9 Okt. 2013

Kommentiert:

Jan
am 11 Okt. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by