File-set for collection of files in datastore
The matlab.io.datastore.FileSet
object helps you process a
large collection of files when moving through the files iteratively. Use the
FileSet
object together with the DsFileReader
object
to manage and read files from your datastore.
creates a fs
= matlab.io.datastore.FileSet(location
)FileSet
object for a collection of files based on the
specified location.
specifies the file extension, whether to include subfolders, or sets object properties.
You can specify multiple name-value pairs. Enclose names in quotes.fs
= matlab.io.datastore.FileSet(location
,Name,Value
)
hasNextFile | Determine if file-set has another file in file-set |
nextfile | Information on next file or file chunk |
hasPreviousFile | Determine if a file-set has a previous file |
previousfile | Information on previous file in file-set |
progress | Determine how many blocks or files have been read |
maxpartitions | Maximum number of partitions |
partition | Partition file-set object |
subset | Create subset of datastore or file-set |
reset | Reset the file-set object |