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

edflib - Toolbox for reading and writing edf/bdf - files >> edflib - Toolbox for reading and writing edf/bdf - 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 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

: 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


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