[Eeglablist] use pop_loadset directly
Arnaud Delorme
arno at salk.edu
Thu Feb 9 15:22:45 PST 2006
>I try to write scripts without using eeglab GUI and I ran into a problem.
>
>If I ran command line
>EEG = pop_loadset('Position1.set', ':', ['all', 'info']);
>The EEG.data field has the string 'Position1.dat' without the data. It
>look like that it did not load the data from Position1.dat file.
>
>
This is because the pop_loadset() function does not read the data if it
is stored on disk by default. Use
EEG = eeg_checkset(EEG);
and this will automatically read the data in memory.
Best,
Arno
More information about the eeglablist
mailing list