reset (MDFDatastore)

Reset MDF datastore to initial state

Description

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.

Examples

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); 

Input Arguments

collapse all

MDF datastore, specified as an MDF datastore object.

Example: mdfds = mdfDatastore('CANape.MF4')

See Also

Functions

Introduced in R2017b