What values to fill in while loading the .EEG file on EEGLAB toolbox?

1 view (last 30 days)
I have the sample data and it is in .EEG format. While I tried to load the data and perform further processing this dialog box needs the information to be filled.
Kindly tell me if anyone knows what values have to be added in these fields. When I leave these fields unfilled then it gives some error saying "maximum variable size exceeded".
Urgent help needed!!

Answers (1)

Walter Roberson
Walter Roberson on 8 May 2015
Refer to the EEGLAB documentation for the meaning of those fields; see over here
In that dialog, only the first entry is mandatory, the one you have entered as 16 (which is fine.) All of the other entries can be left blank to select all possibilities, or you can specify a list of integer values in MATLAB list-building notation, such as
3,4:10
For your purpose I would suggest that you start by filling in the 16 like you already did, and leaving the other entries empty, except for filling in
1
for the
electrodes subset
field. That would restrict it to the first channel (first electrode). If the data for one electrode fits into memory then you could expand to include more electrodes, such as
1:5
However!
When I examine the code in loadeeg() near line 161, the only way I can see that a maximum variable size could have been exceeded is if you were attempting to read a file that was not in eeg format. Just before the error occurred there should have been some information displayed on the console:
fprintf('number of channels : %d\n', chan);
fprintf('number of points per trial : %d\n', pnts);
fprintf('sampling rate (Hz) : %f\n', rate);
fprintf('xmin (s) : %f\n', xmin);
fprintf('xmax (s) : %f\n', xmax);
Please tell us what those values were. In particular, I suspect you will see number of channels as being very large such as 65535. I suspect your file is not in the expected binary format.

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!