Sets the sample position indicator
[seek]=edfseek(handle,edfsignal ,offset,whence);
integer containing file handle of the opened bdf/edf-file
Minimum value is 1
this offset is added to the position
0 (EDFSEEK_SET) the offset is relative to the start of the file.
1 (EDFSEEK_CUR) the offset is relative to the current position indicator.
2 (EDFSEEK_END) the offset is relative to th end-of-file.
current offset
The edfseek function sets the sample position indicator for the edfsignal pointed to by edfsignal. The new position, measured in samples, is obtained by adding offset samples to the position specified by whence. Returns the current offset. Otherwise, -1 is returned. Note that every signal has it's own independent sample position indicator and edfseek() affects only one of them.