Name

edftell — Obtains the current value of the sample position indicator

Calling Sequence

  [seek]=edftell(handle,edfsignal);
    

Parameters

edf_handle

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

edfsignal

: Minimum value is 1.

seek

: current offset

Description

The edftell function obtains the current value of the sample position indicator for the edfsignal pointed to by edfsignal. Returns the current offset. Otherwise, -1 is returned Note that every signal has it's own independent sample position indicator and edftell() affects only one of them.

Examples

[seek]=edftell(edf_handle,1);

Authors

Holger Nahrstaedt