[Eeglablist] Concatinating data epochs for same conditions in one file, from different subjects

Brian Murphy brian.murphy at unitn.it
Tue Apr 13 01:35:57 PDT 2010

Dear Saim,

the usual way to do group analyses is to join participant sessions into 
a single "study":

But if you really want to concatenate multiple datasets from different 
people, you can use the pop_mergeset function repeatedly, either from 
the GUI (Edit>Append datasets), or with a script such as:
    files = {'A.set', 'B.set', 'C.set'}
    EEG = pop_loadset(char(files(1)))
    for f=2:length(files)
        file = char(files(f))
        TMP = pop_loadset(file)
        EEG = pop_mergeset(EEG,TMP,0)
    EEG = eeg_checkset(EEG)
    EEG.setname = 'combined'
eeglab redraw
See also the earlier post 

good luck,


More information about the eeglablist mailing list