edfRead

版本 2.10.0.1 (8.0 KB) 作者: Brett Shoelson
A simple file reader for European Data Formatted (EDF-) files.
28.3K 次下载
更新时间 2020/8/5

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

The edfRead() functionality in this submission is now officially provided by the Signal Processing Toolbox as of R2020b. This File Exchange submission is no longer supported

Read European Data Format file into MATLAB

[hdr, record] = edfread(fname)
Reads data from ALL RECORDS of file fname ('*.edf'). Header information is returned in structure hdr, and the signals (waveforms) are returned in structure record, with waveforms associated with the records returned as fields titled 'data' of structure record.

NOTE: Support for this function is being deprecated. Please see:
https://blogs.mathworks.com/pick/2020/07/10/deprecating-support-for-edfread-and-edfreaduntildone/

[...] = edfread(fname, 'assignToVariables', assignToVariables)
Triggers writing of individual output variables, as defined by field 'labels', into the caller workspace.
[...] = edfread(fname, 'targetSignals', targetSignals,...)
Allows the user to specify by name or index the subset of signals to import.

PLEASE NOTE: I have also uploaded on the File Exchange EDFReadUntilDone. If you have problems reading large files with EDFRead, please download and try that one!
FORMAT SPEC: Source: http://www.edfplus.info/specs/edf.html

引用格式

Brett Shoelson (2024). edfRead (https://www.mathworks.com/matlabcentral/fileexchange/31900-edfread), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
2.10.0.1

Added mention of the blog about edfread in the Signal Processing Toolbox.

2.10.0.0

Same bug fix in name of file.
Modified the description to cite EDFReadUntilDone. No code changes.

2.1.0.0

Minor bug fix in name of file.

2.0.0.0

Fixed a problem triggered by the license conversion on Sept.1, 2016.
Also, I have tried to address the out-of-spec value of -1 for numberOfFiles seen in some edf files.

1.6.0.1

Updated license

1.6.0.0

Enabled the import of a user-specified subset of signals. Also fixed a problem when signal labels include spaces or difficult-to-interpret characters.

1.3.0.0

Fixes a problem with incorrect reading of variable-length signals.

1.1.0.0

Added copyright.

1.0.0.0