1

I am trying to export EEG data to a CSV file using EEGLAB.

I select the menu bar in the EEGlab GUI interface: [file]→[Export]→[Data and ICA activity to text file], and it popped up such an interface:

 EEGlab GUI interface

I selected the checkbox [transpose matrix(elec->rows)] (I want to make data be organized with rows as time points(I'm not quite sure how to call "frames per epoch".) and columns as channels.), and clicked [OK] to export.

When I checked the content of the exported CSV file, I found that all the contents of each row were squeezed into the first box of that row, like this:

exported CSV file

I expected each value to be in its own column, but instead I got a single-column file.

Is there a correct way to export EEG data from EEGLAB to a proper CSV format (where channels are separated into columns)? Or should I use a different function/command (e.g., pop_export) instead of the GUI?

Any suggestions would be greatly appreciated.

1 Answer 1

1

I really appreciate the help! With the advice from jasonharper, I updated to the latest EEGLAB and exported the data again with the “Use comma separator (csv) instead of tab” option checked — the output looks perfect now! like this!

enter image description here

Many thanks also to UncleBigBay for providing valuable suggestions on how to improve my post. Because the Staging Ground post was temporarily locked, I wasn’t able to respond directly, but your support was very helpful.

Sign up to request clarification or add additional context in comments.

2 Comments

For context: I was using EEGLAB v14.1.1 before updating.
it's a pleasure to be of help! Glad you're able to get your question out correctly and get the help you needed. Cheers

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.