フィルターのクリア

adding a delay between commands to a program

2 ビュー (過去 30 日間)
Phillip Addison
Phillip Addison 2012 年 7 月 16 日
hello i am sending commands to a chip and I need a 1 second delay between each command. I am new to matlab and not sure how this would be done.

回答 (1 件)

TAB
TAB 2012 年 7 月 16 日
See pause function.
But scheduling your tasks with timer is best option.
  1 件のコメント
Jan
Jan 2012 年 7 月 16 日
In addition to pause, the commands clock and etime could be useful, while cputime does something else.

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by