partition
Class: matlab.io.datastore.Partitionable
Namespace: matlab.io.datastore
Partition a datastore
Description
Input Arguments
Examples
More About
Tips
In your implementation of the
partitionmethod, you must include these steps.Before creating a partitioned datastore
subds, create a deep copy of the original datastoreds.At the end of the
partitionmethod, reset the partitioned datastoresubds.
For a sample implementation of the
partitionmethod, see Add Support for Parallel Processing.When a partition of a datastore contains no readable record, the
readmethod must return empty data. The non-tall dimensions of this empty data must match the non-tall dimensions of thereadmethod output on a partition with readable records. This requirement ensures that the behavior of thereadallmethod matches the behavior of thegatherfunction.
Version History
Introduced in R2017b