<< edfwrite_annotation_latin1 Functions for writing files edfwrite_annotations >>

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

edfwrite_annotation_utf8

edfwrite_annotation_utf8

Calling Sequence

edfwrite_annotation_utf8(edf_handle, onset, duration, description)

Parameters

edf_handle:

integer containing file handle of the opened bdf/edf-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 Functions for writing files edfwrite_annotations >>