Get sensor data and plot simultaneously using workers any solution?

3 vues (au cours des 30 derniers jours)
Youssouf Ismail CHERIFI
Youssouf Ismail CHERIFI le 19 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?

Réponses (1)

Thomas Falch
Thomas Falch le 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.

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by