Help: Can not import .EDF file into MATLAB or EEGLAB. ERROR - File size relating to bytes?
조회 수: 9 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Sandeep Mishra
2024년 9월 20일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!