matlab.io.datastore.DsFileSet Class
Namespace: matlab.io.datastore
File-set object for collection of files in datastore
Description
The DsFileSet object helps you manage the iterative processing of
large collections of files. Use the DsFileSet object together with
the DsFileReader
object to manage and read files from your datastore.
Construction
returns a fs = matlab.io.datastore.DsFileSet(location)DsFileSet object for a collection of files based on the
specified location.
specifies additional parameters for the fs = matlab.io.datastore.DsFileSet(location,Name,Value)DsFileSet object using one or
more name-value pair arguments. Name also can be a property name, and
Value is the corresponding value. Name must
appear inside single quotes (''). You can specify several name-value
pair arguments in any order as Name1,Value1,...,NameN,ValueN.
Input Arguments
Name-Value Arguments
Properties
Methods
hasfile | Determine if more files are available in file-set object |
maxpartitions | Maximum number of partitions |
nextfile | Information on next file or file chunk |
partition | Partition file-set object |
subset | Create subset of datastore or FileSet |
reset | Reset the file-set object |
resolve | Information on all files in file-set object |
Examples
Tips
If you use the
DsFileSetobject as a property in your custom datastore, then implement thecopyElementmethod. Implementing thecopyElementmethod enables you to create a deep copy of the datastore object. For more information, see Customize Copy Operation. For an example implementation of thecopyElementmethod, see Develop Custom Datastore.
Version History
Introduced in R2017b