adding a delay between commands to a program

2 visualizaciones (últimos 30 días)
Phillip Addison
Phillip Addison el 16 de Jul. de 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.

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Clocks and Timers en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by