adding a delay between commands to a program

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일

0 개 추천

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2012년 7월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by