isShuffleable
Determine whether datastore is shuffleable
Syntax
Description
tf = isShuffleable( returns logical
ds)1 (true) if the datastore ds is
shuffleable. Otherwise, the result is logical 0 (false).
TransformedDatastoreis shuffleable if all underlying datastores are shuffleable.CombinedDatastoreandSequentialDatastoreare shuffleable if all underlying datastores have asubsetmethod or are transformations/combinations of datastores that havesubsetmethods..Custom datastore classes are shuffleable if they subclass from
matlab.io.datastore.Shuffleable.
You can use the shuffle function on shuffleable datastores to
randomize the ordering of files, while preserving the row associations of files in different
datastores.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2020a