How do I change queued data every second?

1 view (last 30 days)
mathgm
mathgm on 28 Feb 2017
I have two data sets A and B. I would like to queue A for one second and then B for one second and then continue this process. I am using the "DataRequired" listener to queue data. I am using a timer to keep track of time. But, what should the timer function be? As of now, I am only using the TasksExecuted as input to listener to decide which data to queue. Please help. Thanks in advance!

Answers (0)

Community Treasure Hunt

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

Start Hunting!