[Eeglablist] Trouble in merging multiple datasets

Bernhardsson Jens Jens.Bernhardsson at miun.se
Tue Oct 31 01:40:56 PDT 2017


Are you sure you have loaded all ten datasets you want to merge?
That's the error message you get when you when ALLEEG is empty:
if isempty(INEEG1)
    error('needs at least two datasets');


Från: eeglablist [mailto:eeglablist-bounces at sccn.ucsd.edu] För He Qing
Skickat: den 30 oktober 2017 14:10
Till: eeglablist <eeglablist at sccn.ucsd.edu>
Ämne: [Eeglablist] Trouble in merging multiple datasets

Dear EEGLABist:
In my study, the whole EEG session was  splited into multiple sub-sessions, so that I got multiple  EEG datasets.
When I merges all sub-datasets into a complete EEG dataset using GUI, it works. However, it failed when I used a pop_mergeset function in my script.

Error using pop_mergeset (line 54)
needs at least two datasets

Error in transfer_raw_data (line 42)
    EEG = pop_mergeset( ALLEEG, [1   2   3   4   5   6   7   8   9  10], 0);

Thank you!

Qing He

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20171031/9baa02dd/attachment.html>

More information about the eeglablist mailing list