Simply EEGLAB
Importing raw files: EDF, BDF & BrainVision
Station 2 · Lesson 1 · EEGLAB 2026.1
In the GUI
- Yes
- Load data using BIOSIG -- pop_biosig()
- OK
- Name it:
S001R03 - Save it as file:
S001R03.set - OK
Script
[ALLEEG, EEG, CURRENTSET, ALLCOM] = eeglab;
dataFolder = 'C:\Users\me\Documents\eeg-course';
if ~exist('sopen', 'file')
plugin_askinstall('Biosig', 'sopen', true);
end
EEG = pop_biosig(fullfile(dataFolder, 'S001R03.edf'));
[ALLEEG, EEG, CURRENTSET] = pop_newset(ALLEEG, EEG, 0, ...
'setname', 'S001R03', 'gui', 'off');
EEG = pop_saveset(EEG, 'filename', 'S001R03.set', 'filepath', dataFolder);
eeglab redraw;Which value should I choose?
| Your system | Format | Plugin | Menu | Function |
|---|---|---|---|---|
| Many clinical and research systems, PhysioNet, and g.tec (GDF files) | EDF, EDF+ or GDF: .edf, .gdf | Biosig | From EDF/EDF+/GDF files (BIOSIG toolbox) | pop_biosig |
| BioSemi | BDF: .bdf | Biosig | From Biosemi BDF file (BIOSIG toolbox) | pop_biosig with 'ref' |
| Brain Products | BrainVision: .vhdr, .vmrk and .eeg | bva-io | From Brain Vis. Rec. .vhdr file (after installation: From Brain Vis. Rec. .vhdr or .ahdr file) | pop_loadbv |
| EGI / Magstim | MFF: a .mff folder | mffmatlabio | Import Magstim/EGI .mff file | pop_mffimport |
| Neuroscan | .cnt | neuroscanio | From Neuroscan .CNT file | pop_loadcnt |
| ANT Neuro (eego) | EEProbe .cnt | ANTeepimport | From ANT EEProbe .CNT file | pop_loadeep_v4 |
| Any system recorded through Lab Streaming Layer (LSL) | XDF: .xdf | xdfimport | From .XDF or .XDFZ file | pop_loadxdf |
| Any system that exports the signal as text or numbers, or data you already have in MATLAB | ASCII or float file, or a MATLAB array | none, built into EEGLAB | From ASCII/float file or MATLAB array | pop_importdata |
| Field | Value | Why | ||
| Import EDF+ annotations | Ticked (default) | In EDF+ files, events come from the annotations. If you untick it, you lose the events. | ||
| Reference chan(s) indices - recommended for BIOSEMI | Empty for EDF, a reference channel for BDF | The pop_biosig help page warns that BioSemi data are recorded reference-free and lose about 40 dB of signal-to-noise ratio if left without a reference. This is a temporary reference; you choose the final one in the re-referencing lesson. |
Check
- The main window
- From the Command Window
- The events
- By eye
- The saved file
For your Methods
EEG recordings in EDF+ format (64 channels, 160 Hz) were imported into EEGLAB 2026.1 with pop_biosig (Biosig plugin [version]), and event markers were read from the EDF+ annotations.