View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.7 | 3 ratings Rate this file 20 Downloads (last 30 days) File Size: 8.1 KB File ID: #42784 Version: 1.1
image thumbnail




23 Jul 2013 (Updated )

A flexible EDF file loader for accessing header information and signal data.

| Watch this File

File Information

An efficient EDF loader is provided that allow the user several options for accessing header and signal information stored in an EDF file.

User can select specific signals and specific 30 second epochs to return, which are used in sleep applications.

header = blockEdfLoad(edfFN)
[header, signalHeader] = blockEdfLoad(edfFN)
[header, signalHeader, signalCell] = blockEdfLoad(edfFN)
[header, signalHeader, signalCell] = blockEdfLoad(edfFN, signalLabels)
[header, signalHeader, signalCell] = blockEdfLoad(edfFN, signalLabels, epochs)


Edf Read, Read / Write Edf+ Files, Reading And Saving Of Data In The Edf+, and Matlab To Edf Conversion inspired this file.

This file inspired Block Edf Signal Raster View and Block Edf Deidentify.

MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
04 Oct 2016 Sutrisno Ibrahim

Thank you Dennis. Your code is very useful.

29 Jun 2016 Rami Khushaba

Rami Khushaba (view profile)

27 Aug 2015 Dennis A. Dean, II, Ph.D.

The program returns the selected sections(signals and 30 second epochs). The current version loads the entire file. It would be straight forward to load only the selected sections. Please email directly if you would like to discuss further.

Comment only
13 Jun 2015 Victor

Victor (view profile)

Can I read with this function a samll part from a large EDF file, which can not be loaded entirely?

Comment only
27 Jan 2014 Dennis A. Dean, II, Ph.D.

Use this version for quick access to the EDF contents.

Comment only
23 Jul 2013 Rajeev Yadav

Thanks Dennis, I will revise my code and will follow your implementation to make the GUI simpler.


27 Jan 2014 1.1

Revision adds digital to physical conversion.

Contact us