Info

This question is closed. Reopen it to edit or answer.

Trying to run two functions simultaniously- acquisition of data from virtual COM port and displaying pictures

1 view (last 30 days)
hello,
I am working on my final project from school. I'm trying to acquire data and display it on my gui (heart beat signal) and simultaniously display pictures on a different screen. When I tried to do that in different ways, without parallelism, I got big delays which hurt my analysis. Can anyone please explain to me how I can make it work with parallel computing toolbox? I tried to open a job and batch my daq function but it didnt seem to do anything. the code I used: job= batch('daqdov') wait(job);
load(job,'rawd');
picdisptry; plot(rawd,'*');
delete(job);
while daqdov and picdisptry are two of the functions i need to run together.
thanks

Answers (0)

Community Treasure Hunt

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

Start Hunting!