[Eeglablist] How to import specific data from .xls to EEGLab

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Fri Jul 6 12:23:14 PDT 2018


Dear Stephen and Michelle,

I guess when the EEGLAB function for importing/exporting the excel files
were written, things could have been much different than they are now. It
is possible that such Matlab/Excel compatibility is causing the problem
(without testing, just my guess as a possibility)

Makoto

On Fri, Jul 6, 2018 at 10:36 AM Stephen Politzer-Ahles <
politzerahless at gmail.com> wrote:

> You could import the original file as usual, then import the Excel file
> separately using normal MATLAB functions for reading and writing Excel
> data, and then replace the EEG data structure loaded from the original file
> (EEG.data) with what you read from the Excel file.
>
>
> ---
> Stephen Politzer-Ahles
> The Hong Kong Polytechnic University
> Department of Chinese and Bilingual Studies
> http://www.mypolyuweb.hk/~sjpolit/
> <http://www.nyu.edu/projects/politzer-ahles/>
>
> On Wed, Jul 4, 2018 at 10:09 PM, Michelle Lee <michelle.lee98 at gmail.com>
> wrote:
>
>> Hello, I need some help importing an excel sheet into eeglab.
>>
>>
>>
>> I first loaded a dataset (.set file) into eeglab then exported it as a
>> text file. I saved this text file as an excel file so that I could modify
>> it and make some changes before importing it back into eeglab.
>>
>>
>> The final excel file that I am trying to import is 1 sheet and resembles
>> the original exported file (i.e. same number of headings, a column of
>> numbers under each heading, same number of rows as the original file, etc.).
>>
>>
>> I have tried changing the file format to ASCII, LOG, CSV and even keeping
>> it as an excel file but none of these formats have allowed me to import the
>> data back into eeglab successfully.
>>
>>
>>
>> Any guidance is appreciated.
>>
>> Thank you,
>>
>>
>>
>> Michelle Lee
>>
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180706/1233b042/attachment.html>


More information about the eeglablist mailing list