Borrar filtros
Borrar filtros

applying delay to real-time process

2 visualizaciones (últimos 30 días)
Mahsa Rm
Mahsa Rm el 4 de Jul. de 2021
Editada: Mahsa Rm el 4 de Jul. de 2021
I'm receiving an eog data from a device and I'm processing it real-time, but I want the code to process with 1 sec delay. when I write pause(1) in loop code, both data receiving and processing will have delay. how I can apply it only to process?
any help would be appreciated.

Respuestas (1)

Yazan
Yazan el 4 de Jul. de 2021
You can use a timer object. See details here and here.
  1 comentario
Mahsa Rm
Mahsa Rm el 4 de Jul. de 2021
Editada: Mahsa Rm el 4 de Jul. de 2021
@Yazan but here it says I can't use it for real-time appplications.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by