Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

reset (MDFDatastore)

Reset MDF datastore to initial state

Syntax

reset(mdfds)

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

Was this topic helpful?