Lost data using LSL and Matlab?
Hello,


I want to stream raw data from my Ganglion board to Matlab using LSL. I successfully run the python code to stream data via LSL and I pull this data using the library in Matlab. However, there seems to be some kind of data loss or an inconsistent sampling rate (see pictures). I created a 10Hz sine wave using a waveform generator. First picture is what I get using LSL and Matlab. Second picture is data recorded using OpenBCI GUI. Any ideas on what could be happening? Thanks!!
LSL + Matlab:

Recording in OpenBCI GUI:

Comments
recorded using OpenBCI GUI. Any ideas on what could be happening?
Thanks!!
Jeeze something bad is happening it looks like for sure
What example are you using to read data in Matlab?