edfread: File size in bytes is ___. File size must be ___ as specified in __ EDF/EDF+ file header.

5 views (last 30 days)
Using this public domain data as an example, I'm receiving the following error:
>> edfread('sub-1001 ieeg sub-1001_task-con2ana_ieeg.edf')
Error using signal.internal.edf.validateEDF
File size in bytes is 119801192. File size must be 626448568 as specified in "sub-1001 ieeg sub-1001_task-con2ana_ieeg.edf" EDF/EDF+ file header.
Error in edfread (line 113)
signal.internal.edf.validateEDF(filename, fileInfo, version, startDate, startTime,...
This does not happen universally for all EDFs. Some work fine, others throw this error.
However, I'm able to open the file using Brian Shoelson's FEX edfread.

Answers (0)

Categories

Find more on Biomedical Signal Processing in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!