필터 지우기
필터 지우기

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