subds = partition(mdfds,N,index)
partitions the MDF datastore mdfds into the number of parts
specified by N, and returns the partition corresponding to
the index index.
subds = partition(mdfds,'Files',index)
partitions the MDF datastore by files and returns the partition corresponding to
the file of index index in the Files
property.
MDF datastore, specified as an MDF datastore object.
Example: mdfds =
mdfDatastore("CANape.MF4")
N — Number of partitions positive integer
Number of partitions, specified as a double of positive integer value. Use
the numpartitions function for the recommended number
or partitions.
Example: numpartitions(mdfds)
Data Types: double
index — Index positive integer
Index, specified as a double of positive integer value. When using the
'files' partition scheme, this value corresponds to
the index of the MDF datastore object Files
property.
Example: 1
Data Types: double
filename — File name character vector
File name, specified as a character vector. The argument can specify a
relative or absolute path.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.