Use script to load files in '.set' and 'edf' format

Dear All:
I meet a problem when assembling a pipeline to import the raw data which has the EEGLAB(*.set) file format.
I used the function:

 bst_process('CallProcess', 'process_import_data_raw', [], [], ...
    'subjectname',    subjectname, ...
    'datafile',       {RawFile, **xxx**}, ...
    'channelreplace', 1, ...
    'channelalign',   0);

and I don't know how to fill the 'xxx'.
I'm also confused in loading data with 'edf' format, hope you can help me. :pleading_face:
Thanks

**xxx** is a string that indicates the file format.
It should be 'EEG-EEGLAB' for *.set files.

It works! And 'EEG-EDF' also work for *.edf data.
Really thanks! :smiley:

1 Like