read
(Not recommended) Read channel data from MDF file
The read
function is not recommended and might be removed in a
future release. Use mdfRead
instead. See Version History.
Syntax
Description
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 data for all channels in the specified channel group.data
= read(mdfObj
,chanGroupIndex
)
reads data for the specified channels.data
= read(mdfObj
,chanGroupIndex
,chanName
)
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
.
specifies certain function behaviors using optional name-value pairs.data
= read(___,Name=Value
)