<< edfopen_file_readonly Functions for reading files edfread_physical_samples >>

edflib - Toolbox for reading and writing edf/ bdf files >> Functions for reading files > edfread_file

edfread_file

Reads the entire file (header, annotation, data).

Calling Sequence

[edf_file]=edfread_file(filename);
[edf_file]=edfread_file(edf_header);

Parameters

path:

string containing the path and name of the file

edf_header:

plist with header information from edfopen_file_readonly

edf_file:

struct containing all data.

edf_file.header:

struct containing the header information

edf_file.annotation:

struct containing all annotations

edf_file.data:

data matrix

Description

extract all signals data from a edf/bdf-file, if and only if each signal has the same sampling rate.

Examples

[edf_file]=edfread_file(edf_getpath()+'/demos/demo.bdf');

[header_list]=edfopen_file_readonly(edf_getpath()+'/demos/demo.bdf', 0);
[edf_file]=edfread_file(header_list);
edf_close(header_list.handle);

Authors


Report an issue
<< edfopen_file_readonly Functions for reading files edfread_physical_samples >>