Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues running biosig2eeglab.m #38

Open
cnleeglab opened this issue Jul 13, 2017 · 6 comments
Open

Issues running biosig2eeglab.m #38

cnleeglab opened this issue Jul 13, 2017 · 6 comments

Comments

@cnleeglab
Copy link

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 pop_biosig (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
Copy link

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

@chamwen
Copy link

chamwen commented Nov 3, 2018

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
Copy link

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

@kevin123456-hash
Copy link

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
Copy link

xf15 commented Nov 6, 2021

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants