isShuffleable
Syntax
Description
tf = isShuffleable(
returns logical
ds
)1
(true
) if the datastore ds
is
shuffleable. Otherwise, the result is logical 0
(false
).
TransformedDatastore
is shuffleable if all underlying datastores are shuffleable.CombinedDatastore
andSequentialDatastore
are shuffleable if all underlying datastores have asubset
method or are transformations/combinations of datastores that havesubset
methods..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