Read channel data from MDF-file
reads all data for all channels from the MDF-file identified by the MDF-file object
data
= read(mdfObj
)mdfObj
, and assigns the output to data
. If
the file data is one channel group, the output is a timetable; multiple channel
groups are returned as a cell array of timetables, where the cell array index
corresponds to the channel group number.
reads all data for the specified channel from the MDF-file identified by the
MDF-file object data
= read(mdfObj
,chanGroupIndex
,chanName
)mdfObj
.
reads
data from the position specified by data
= read(mdfObj
,chanGroupIndex
,chanName
,startPosition
)startPosition
.
reads
data for the range specified from data
= read(mdfObj
,chanGroupIndex
,chanName
,startPosition
,endPosition
)startPosition
to endPosition
.
returns data with the specified output format.data
= read(mdfObj
,chanGroupIndex
,chanName
,startPosition
,endPosition
,'OutputFormat',fmtType
)
[
returns two vectors of channel data and corresponding timestamps.data
,time
]
= read(mdfObj
,chanGroupIndex
,chanName
,startPosition
,endPosition
,'OutputFormat','Vector')