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?

Respuestas (1)

Simon
Simon el 9 de Oct. de 2013

2 votos

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

3 comentarios

@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
ONION LIM el 9 de Oct. de 2013
ok, thanks, and sorry for the trouble...
Jan
Jan el 11 de Oct. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de Oct. de 2013

Comentada:

Jan
el 11 de Oct. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by