reset - Reset datastore to initial state - MATLAB (original) (raw)

Main Content

Reset datastore to initial state

Syntax

Description

reset([ds](#bududlx-1-ds)) resets the datastore specified by ds to the state where no data has been read from it. Resetting allows re-reading from the same datastore.

example

Examples

collapse all

Create a datastore from the sample file, mapredout.mat, which is the output file of the mapreduce function.

ds = datastore('mapredout.mat');

Read the first key-value pair.

Reset the datastore to the state where no data has been read from it.

Input Arguments

Extended Capabilities

expand all

Usage notes and limitations:

For more information, see Run MATLAB Functions in Thread-Based Environment.

Version History

Introduced in R2014b