Reset MDF datastore to initial state
reset(mdfds)
example
reset(mdfds) resets the MDF datastore specified by mdfds to its initial read state, where no data has been read from it. Resetting allows your to reread from the same datastore.
mdfds
collapse all
Reset an MDF datastore so that you can read from it again.
mdfds = mdfDatastore(fullfile(matlabroot,'examples','vnt','CANape.MF4')); data = read(mdfds); reset(mdfds); data = read(mdfds);
MDF datastore, specified as an MDF datastore object.
Example: mdfds = mdfDatastore('CANape.MF4')
mdfds = mdfDatastore('CANape.MF4')
hasdata
mdfDatastore
read