Home > biosig > t200 > sdfread.m

sdfread

PURPOSE ^

Loads selected Seconds of an EDF File (European Data Format for Biosignals)

SYNOPSIS ^

function [S,EDF] = sdfread(EDF,NoS,StartPos)

DESCRIPTION ^

 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 17-Aug-2004 00:13:21 by m2html © 2003