[Eeglablist] selecting epochs from the database n via script

ivano triggiani ivanotriggiani at gmail.com
Fri Feb 5 14:48:21 PST 2021


Hello EEGlabbers,

here is a problem that may be silly, but I cannot figure out a solution.
I am using a script to analyze some data, but, at some point, after I do
something, I am pointing at database number 8, but I need to go back to the
database n.2 to select new epochs.
Two questions:
1. How can I use the function pop_epoch pointing at database number 2 while
I am at number 8? I tried using
CURRENTSET = 2;
EEG = eeg_checkset( EEG );
eeglab redraw;
EEG = pop_epoch( EEG,...)
but it says he cannot find the epochs.

2. In general, how can I move through the datasets?

Ivano


________________________________________________



More information about the eeglablist mailing list