Name

edfopen_file_readonly — Opens an new file for reading.

Calling Sequence

[header_list]=edfopen_file_readonly(path, read_annotations)

Parameters

path

: string containing the path and name of the file

read_annotations

: 0 = annotations will not be read (this saves time when opening a very large EDFplus or BDFplus file)

: 1 = annotations will be read immediately, stops when an annotation has been found which contains the description "RECORD STOP"

: 2 = all annotations will be read immediately

header_list

: mlist, filled with all the relevant header- and signalinfo/parameters

Description

Opens an new file for reading. If the opening was succesful, a header_list which is filled with all the relevant header- and signalinfo/parameters will be given back. The list contains a "handle" (header_list("handle")) which you need for the other functions.

Examples

[header_list]=edfopen_file_readonly('demo.bdf', 0);
    

Authors

Holger Nahrstaedt

See Also

edf_close edfread_physical_samples