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 件)

Simon
Simon 2013 年 10 月 9 日

2 投票

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

3 件のコメント

Jan
Jan 2013 年 10 月 9 日
@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 2013 年 10 月 9 日
ok, thanks, and sorry for the trouble...
Jan
Jan 2013 年 10 月 11 日
@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 ExchangeStartup 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