sccn / BCILAB

MATLAB Toolbox for Brain-Computer Interface Research
Other
198 stars 120 forks source link

Issues running biosig2eeglab.m #38

Open cnleeglab opened 7 years ago

cnleeglab commented 7 years ago

We have been trying to run merge_sets.m, an EEGLAB script, which calls the script biosig2eeglab, and we have been getting the following errors. Does anyone have any insight into what might be going wrong?

_**Warning SREAD: NoS yields non-integer position [Inf, NaN] Error SREAD: unknown-format not supported yet. Reference to non-existent field 'InChanSelect'.

Error in biosig2eeglab (line 65) if max(dat.InChanSelect) > size(DAT,1)

Error in popbiosig (line 160) EEG = biosig2eeglab(dat, DAT, interval, g.channels, strcmpi(g.importevent, 'on'));**

We converted the data from .bdf to .edf files before running this script. Thanks!

aguslegaz commented 6 years ago

I´m getting the same error. Did you find a solution? Thanks @cnleeglab

chamwen commented 5 years ago

I´m getting the same error. Did you find a solution? Thanks @cnleeglab

pop_biosig(fileName),check your file name, I met this for a linux address when runing in windows

ChrisKye commented 3 years ago

Still facing this issue with edf files, has this issue been resolved for anyone?

kevin123456-hash commented 2 years ago

I also faced the same issue in loading the data from.edf file, but after using the below line for loading it was able to read data from.edf file. EEG = pop_biosig(strcat(pwd,'\',filename,'.edf')) here filename is the name of your respective file in string format.

xf15 commented 2 years ago

i got this error too when trying to import bdf, turned out my file path was wrong, the error is not informative, at least in my case

WenAlfTorr commented 1 year ago

In my case with .bdf, the "path =" line needed a slash.