adding a delay between commands to a program

2 Ansichten (letzte 30 Tage)
Phillip Addison
Phillip Addison am 16 Jul. 2012
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.

Antworten (1)

TAB
TAB am 16 Jul. 2012
See pause function.
But scheduling your tasks with timer is best option.
  1 Kommentar
Jan
Jan am 16 Jul. 2012
In addition to pause, the commands clock and etime could be useful, while cputime does something else.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by