sccn / eeglab

EEGLAB is an open source signal processing environment for electrophysiological signals running on Matlab and developed at the SCCN/UCSD
https://eeglab.ucsd.edu/
Other
586 stars 238 forks source link

EEGLAB error in function pop_loadbv() at line 87 #251

Closed NicoBiagi closed 3 years ago

NicoBiagi commented 3 years ago

Hi, I tried to load a .dat file using the 'From Brain Vis. Rec. .vhdr or .adhr file' option from the bv-IO1.7 plugin. I left both the 'Interval samples' and the 'Channels' blank because I was happy with the default values.

However, I get an error message saying: 'Output argument "CONF" 9and maybe others) not assigned during call to "readbvconf".

Could you please help me fix this error?

Many thanks

arnodelorme commented 3 years ago

Dear Nico, Would you mind to share your data files?

On Jan 21, 2021, at 7:09 AM, Nico Biagi notifications@github.com wrote:

Hi, I tried to load a .dat file using the 'From Brain Vis. Rec. .vhdr or .adhr file' option from the bv-IO1.7 plugin. I left both the 'Interval samples' and the 'Channels' blank because I was happy with the default values.

However, I get an error message saying: 'Output argument "CONF" 9and maybe others) not assigned during call to "readbvconf".

Could you please help me fix this error?

Many thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

NicoBiagi commented 3 years ago

Hi,

Thank you for your prompt reply.

I had to attach the data in .zip format because GitHub didn't let me add it as a .dat file

Best, Nico Example_data.dat.zip

arnodelorme commented 3 years ago

Thank you. We would need the associated .vhdr and the .vmrk files as well to be able to run some tests.

NicoBiagi commented 3 years ago

I don't have the .vhdr file, just the .vmrk file Example_data.vmrk.zip

arnodelorme commented 3 years ago

If you do not have these files, then the data cannot be imported. The files always come in 3 (a .dat, a .vhdr, and a .vmrk file). Best

arnodelorme commented 3 years ago

The .vhdr is the header file and it is the most important. the .vmrk is the marker file (events) and it is optional.

NicoBiagi commented 3 years ago

here is the .vhdr file relative to the example dataset I've sent you Example_data.vhdr.zip

arnodelorme commented 3 years ago

It is not a good idea to rename files because they refer to each other. When the files are named properly, they can be imported.

arnodelorme commented 3 years ago

Archive.zip