


Loads selected Seconds of an EDF File (European Data Format for Biosignals)
[S,EDF] = sdfread(EDF [,NoS [,StartPos]] )
NoS Number of seconds, default = 1 (second)
StartPos Starting position, if not provided the following data is read continously from the EDF file.
no reposition of file pointer is performed
(Ver > 0.75 requests NoS and StartPos in seconds. Previously (Ver <0.76) the units were Records.)
EDF=sdfopen(Filename,'r',[[CHAN] | [ReRefMx]],TSR,OFCHK);
[S,EDF] = sdfread(EDF, NoS, StartPos)
[S,EDF] = sdfread(EDF, EDF.NRec*EDF.Dur) and
[S,EDF] = sdfread(EDF, inf)
reads til the end
See also: fread, SREAD, SCLOSE, SSEEK, SREWIND, STELL, SEOF