Page 1 of 1

some problems to load .DAT file using EEGLAB

Posted: 27 Feb 2011, 08:42
by jane1985
hi, when I use EEGLAB to import data from BCI2000 .dat file, it occurs

Warning: Out of range value or NaN computed in integer arithmetic.
> In BCI2000import>compressData at 155
In BCI2000import>compressData at 135
In BCI2000import at 53
eeg_checkset note: upper time limit (xmax) adjusted so (xmax-xmin)*srate+1 = number of frames
??? Undefined function or variable "LASTCOM".

??? Error while evaluating uimenu Callback

my EEGLAB VERSION is EEGLAB v10.0.0.0.b, matlab version is MATLAB R2009a.

How can I sovle the problem? look forward to your reply, thanks

Re: some problems to load .DAT file using EEGLAB

Posted: 03 Mar 2011, 08:43
by jawilson
Hello,
Sorry for the delay getting back to you. I am working on making sure that the EEGLAB plugin will work for the current version of BCI2000. I will let you know when there is an update.
Adam

Re: some problems to load .DAT file using EEGLAB

Posted: 03 Mar 2011, 09:12
by jawilson
Hello,
I have just checked the EEGLAB plugin with BCI2000, and everything appears to be working correctly. Please make sure you are following the instructions at:
http://bci2000.org/wiki/index.php/User_ ... GLabImport

It also looks like your data may have invalid values. You might try loading them into matlab directly using the load_bcidat tool, and see if there are any bad values (e.g., NaN). If you are still having problems, you can send me the data file, and I can take a look at it myself.
Adam