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?

回答(1 个)

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

3 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

提问:

2013-10-9

评论:

Jan
2013-10-11

Community Treasure Hunt

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

Start Hunting!

Translated by