Linking to MATLAB 2023a Simulink
Dalia_Mirghani
Kingdom Saudi Arabia
Hello,
We designed a classifier to recognise some EEG actives useing the saved data files, and we successfully connected between openbci GUI and MATLAB using LSL, the data appears on the run time on the Command Window as the attached images.
How can I link between the openbci GUI and Simulink Matlab 2023a to make this data as input to the Simulink so I can test the classifier on the real TIME?
Comments
Dalia, hi.
Since Simulink supports Matlab, the likely best way to do this is to NOT use the GUI at all. Instead use the Brainflow (Matlab binding), to stream the real-time data into Simulink.
https://brainflow.org/
https://brainflow.readthedocs.io/en/stable/Examples.html#matlab
There are some other Simulink related threads on the forum:
https://www.google.com/search?as_q=simulink&as_sitesearch=openbci.com
https://openbci.com/forum/index.php?p=/discussion/832/real-time-stream-from-openbci-into-simulink
William
Thank you for your help, I will try that.
I'm also confused by this issue, have you solved it? How to transfer EEG data from OpenBCI into Simulink?
Unfortunately, no.