<< edf_get_admincode Functions for reading files edf_get_annotations >>

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

edf_get_annotation

Annotations from a edf-file

Calling Sequence

[ann_time,ann_dur,ann_text]=edf_get_annotation(path)
[ann_time,ann_dur,ann_text]=edf_get_annotation(edf_header)

Parameters

path:

string containing the path and name of the file

edf_header:

plist with header information from edfopen_file_readonly

ann_time:

start times of the annotations

ann_dur:

duration times of the annotations (saved as string)

ann_text:

string vector of the annotation descriptions

Description

Extract annotations from a edf-file.

Examples

[ann_time,ann_dur,ann_text]=edf_get_annotation(edf_getpath()+'/demos/demo.bdf')

[header_list]=edfopen_file_readonly(edf_getpath()+'/demos/demo.bdf', 2);
[ann_time,ann_dur,ann_text]=edf_get_annotation((header_list);
edf_close(header_list.handle);

See also

Authors


Report an issue
<< edf_get_admincode Functions for reading files edf_get_annotations >>