<< edfwrite_annotation_latin1 edflib - Toolbox for reading and writing edf/bdf - files edfwrite_annotations >>

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

edfwrite_annotation_utf8

Writes an annotation/event to the file

Calling Sequence

edfwrite_annotation_utf8(edf_handle, onset, duration, description)

Parameters

edf_handle

: integer containing the file handle of the opened edf/bdf-file.

onset

: onset is relative to the starttime and startdate of the file in units of Seconds! resolution is 0.0001 second! .

duration

: duration are in units of Seconds! resolution is 0.0001 second! If duration is unknown or not applicable: set a negative number (-1)

description

: UTF8-string containing the text that describes the event.

Description

Writes an annotation/event to the file. This function is optional and can be called only after opening a file in writemode and before closing the file

Examples

edfwrite_annotation_utf8(edf_handle, 1.43, -1, "ann 1");

Authors


Report an issue
<< edfwrite_annotation_latin1 edflib - Toolbox for reading and writing edf/bdf - files edfwrite_annotations >>