applying delay to real-time process

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.

답변 (1개)

Yazan
Yazan 2021년 7월 4일

0 개 추천

You can use a timer object. See details here and here.

댓글 수: 1

Mahsa Rm
Mahsa Rm 2021년 7월 4일
편집: Mahsa Rm 2021년 7월 4일
@Yazan but here it says I can't use it for real-time appplications.

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

카테고리

질문:

2021년 7월 4일

편집:

2021년 7월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by