Help: Can not import .EDF file into MATLAB or EEGLAB. ERROR - File size relating to bytes?
8 views (last 30 days)
Show older comments
Hello community,
I do research into sleep and consciousness via EEG and need to open one of my personal .EDF files. Typically I'm adjusted to using Natus Nueroworks and Remlogic software packages for analyses. However I require Matlab for some additonal functions.
I have converted the file from Natus Neurology's own proprietry format into .EDF (not .edf+). Unfortunately I can't seem to import this using Matlabs 'import .edf' tool.
Error currently is: Filesize in bytes is 2147745792. File size must be 2147427682 as specified in 'file directory' EDF/EDF+ file header.
Unsure as to how to address/resolve this?
I am also receiving errors in EEGlab.
I have relatively limited programming knowledge at the moment - so would very much appreciate if anyone here would be kind enough to help.
Thank you :)
0 Comments
Answers (1)
Sandeep Mishra
on 20 Sep 2024
Hi Greg,
I attempted to open the publicly available 'Conscious-SEEG-Dataset' file 'sub-1001_task-con2ana_ieeg.edf' and encountered the similar error message.
To resolve this, I recommend using the ‘edfread’ function available on the MATLAB File Exchange. You can download the file from the following link:
You can implement the function to read data from edf file as follows:
[header, recorddata] = edfread('sub-1001_task-con2ana_ieeg.edf');
I hope this helps in resolving the issue.
0 Comments
See Also
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!