How Can We Help?
From EEGStudio to MatLab via LSL
EEGStudio supports LSL protocol for rela-time EEG data streaming to MatLab and other third-party applications.
You can find more information about LabStreamingLayer here https://labstreaminglayer.readthedocs.io/index.html
Starting EEG data streaming in EEGStudio
To start data streaming follow these steps in EEEStudio:
- Create New examination in EEGStudio like you normally do it for regular EEG recording
- You have to enable data Input or Record

3. Click LSL Outlet on the “Add-on” tab to activate data streaming

To see you data in MatLab you have to use MatLab Viewer application provided.
Receiving data via LSL in Matlab
- Unzip MATLAB_Viewer.zip for example to D:/ MATLAB_Viewer or any other location
- Start MATLAB
- Add the MATLAB_Viewer folder to the path, either through the GUI, under Environment / Set Path / Add Folder) or in the command line type addpath(‘D:/ MATLAB_Viewer’) and press Enter
- Make sure that you have some LSL stream online.
- Now type in command line vis_stream to bring up the viewer GUI; it should give you a window with settings that looks like the following. If you don’t have a LSL stream online it will finish with an error message. If the program gets stuck or return an error, try instead setting parameters throught he command line to avoid having to use the graphic interfaces (which sometimes create problems). For example, type vis_stream(‘timerange’,5)

6. Select the LSL stream Mitsar and click OK to get signal visualization. You will get a window like the following
