matlab.io.datastore.Shuffleable.shuffle - Return a shuffled version of a datastore - MATLAB (original) (raw)

Class: matlab.io.datastore.Shuffleable
Namespace: matlab.io.datastore

Return a shuffled version of a datastore

expand all in page

Syntax

ds2 = shuffle(ds)

Description

[ds2](#d126e1657812) = shuffle([ds](#d126e1657784)) shuffles samples of the datastore ds in random order, and returns the shuffled datastore, ds2.

Input Arguments

expand all

Input datastore, specified as a matlab.io.Datastore object.

Output Arguments

expand all

Shuffled datastore, returned as a matlab.io.Datastore object.

Attributes

Abstract true

To learn about attributes of methods, seeMethod Attributes.

Tips

Version History

Introduced in R2018a

See Also

matlab.io.datastore.Shuffleable | matlab.io.Datastore