This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

reset (MDFDatastore)

Reset MDF datastore to initial state





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.


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);
data = read(mdfds); 

Input Arguments

collapse all

MDF datastore, specified as an MDF datastore object.

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

See Also


Introduced in R2017b