Get sensor data and plot simultaneously using workers any solution?

1 view (last 30 days)
Youssouf Ismail CHERIFI
Youssouf Ismail CHERIFI on 19 Oct 2020
Answered: Thomas Falch on 29 Oct 2020
So I am wokring on implementing a GUI where I can get incoming data from EEG amplifier that operate 500 Hz and at the same visualize the data and write a trigger flags for certain events. The question is there a way to do so considering that it is not possible to use other languages as the sdk for the amplifier has a matlab wrapper?

Answers (1)

Thomas Falch
Thomas Falch on 29 Oct 2020
Depending upoin your requirements it may be possible to have one worker read the data from the device, and send it back to the MATLAB desktop client for post processing and plotting.
This example: https://www.mathworks.com/help/parallel-computing/perform-data-acquisition-in-parallel-with-postprocessing.html shows you a similar setup, with the instrument being a webcamera.

Community Treasure Hunt

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

Start Hunting!