execute a block of code based on real time analog input

1 visualización (últimos 30 días)
Fan Yang
Fan Yang el 27 de Sept. de 2021
Hey guys,
I am trying to to sychnronize EEG acquisition and visual stimulation so that they achieve time alignment. My EEG equipment can send analog signal through NI device. My thinking is as soon as matlab detected the real time analog signal using the data acquisition toolbox the visual stimulation starts. I've writen the visual stimulation, but I have no idea how to execute it based upon the real time analog input. I believe the next step should be for matlab to monitor the real time analog signal continuously. How can I do that, and how can I use it as an event trigger to execute code?

Respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by