matlab.io.datastore.BlockedFileSet
Blocked file-set for collection of blocks within file
Description
The matlab.io.datastore.BlockedFileSet
object helps you
process a large collection of blocks within files when moving through the files iteratively.
Use the BlockedFileSet
object together with the DsFileReader
object
to manage and read files from your datastore.
Creation
Syntax
Description
creates a bs
= matlab.io.datastore.BlockedFileSet(location
)BlockedFileSet
object for a collection of blocks within files
based on the specified location.
specifies the file extension, subfolders, or sets object properties. You can specify
multiple name-value pairs. Enclose names in quotes.bs
= matlab.io.datastore.BlockedFileSet(location
,Name,Value
)
Input Arguments
Name-Value Arguments
Properties
Object Functions
hasPreviousBlock | Determine if blocked file-set has previous block |
previousblock | Information on previous block in blocked file-set |
hasNextBlock | Determine if blocked file-set has another block |
nextblock | Information on next block in blocked 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 FileSet |
reset | Reset the file-set object |
Examples
Version History
Introduced in R2020a