<< edfopen_file_writeonly Functions for writing files edfwrite_annotation_utf8 >>

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

edfwrite_annotation_latin1

Writes an annotation/event to the file

Calling Sequence

edfwrite_annotation_latin1(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:

Latin1-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_latin1(edf_handle, 1.43, -1, "ann 1");

Authors


Report an issue
<< edfopen_file_writeonly Functions for writing files edfwrite_annotation_utf8 >>