[Eeglablist] Save EEG epochs in different files

Tarik S Bel-Bahar tarikbelbahar at gmail.com
Sun Oct 16 11:37:31 PDT 2016


Hello Alberto, Some brief notes below, best wishes!


Take a closer look at the various export options in eeglab. There should be
a text export option under File > Export in the eeglab gui. If you haven't
had a chance to, the best thing for you might be to load up the eeglab
tutorial data and play around so as to learn/try all/most the menu options
in the gui, which are a reflection of most of the functions available
within eeglab.

Alternatively, just make a loop in a matlab scriplet that loops through the
EEG.data for each epoch, and saves just that part out as a file of your
choice (using any matlab method). The loop would occur as many times as
there are epochs, and you can name/save each epoch as a variable named
Data_Subject_EpochNumber for example.



On Thu, Oct 13, 2016 at 5:41 AM, Alberto Cacciola <
alberto.cacciola0 at gmail.com> wrote:

> Dear all,
>
> First of all, sorry if my question can be stupid. I searched on the
> previous messages of the mailing list but couldn't manage to find any
> solutions,
>
> I am new with EEGlab. I splitted a resting state EEG in 2-s epochs as
> follow:
>
> EEG = eeg_regepochs(EEG, 'recurrence', 2, 'limits', [0 2], 'rmbase', NaN);
>
> and didn't encounter any problems.
> Now I would like to save each epoch as a different file. For Instance, if
> I have 90 epochs of 2sec I would save each of the epoch as a .txt or .asc
> file, thus resulting in 90 independent files.
> Is it possible? How should I proceed?
>
> Many thanks for your help
> Alberto
>
>
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.
> ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20161016/761a9deb/attachment.html>


More information about the eeglablist mailing list