<< edfread_samples Functions for reading files edfseek >>

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

edfrewind

Sets the sample position indicator to the beginning of the file.

Calling Sequence

edfrewind(handle,edfsignal)

Parameters

edf_handle:

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

edfsignal:

Minimum value is 1

Description

The edfrewind function sets the sample position indicator for the edfsignal pointed to by edfsignal to the beginning of the file.

Note that every signal has it's own independent sample position indicator and edfrewind() affects only one of them.

Examples

[header_list]=edfopen_file_readonly(edf_getpath()+"/demos/demo.bdf",0,0);
edf_handle=header_list.handle;
edfrewind(edf_handle,1);
edf_close(edf_handle);

Authors


Report an issue
<< edfread_samples Functions for reading files edfseek >>