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?

Réponses (1)

Simon
Simon le 9 Oct 2013

2 votes

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

3 commentaires

@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 le 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Commenté :

Jan
le 11 Oct 2013

Community Treasure Hunt

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

Start Hunting!

Translated by