EDF_read¶
- EDF_read(filename, varargin)¶
edfread Read data from the EDF or EDF+ file DATA = EDF_read(FILENAME) reads signal data from each record in the EDF or EDF+ file specified in FILENAME. DATA is returned as a timetable. Each row of DATA is a record and each variable is a signal. RowTimes of the timetable correspond to the start time of each data record relative to the start time of the file recording.
DATA = EDF_read(…,’SelectedSignals’,SIGNAMES) reads from FILENAME the signals whose names are specified in the string vector SIGNAMES. DATA is a timetable with a variable for each of the names specified in SIGNAMES. If SIGNAMES is not specified, EDFREAD reads the data of all the signals in the EDF or EDF+ file.
DATA = EDF_read(…,’SelectedDataRecords’,RECORDINDICES) reads from FILENAME the data records specified in the vector RECORDINDICES. The integers in RECORDINDICES must be unique and strictly increasing. DATA is a timetable with number of rows equal to the number of indices specified in RECORDINDICES. If RECORDINDICES is not specified, EDFREAD reads all the data records in the EDF or EDF+ file.