resolve
Class: matlab.io.datastore.DsFileSet
Namespace: matlab.io.datastore
Information on all files in file-set object
Syntax
allFilesInfo = resolve(fs)
Description
returns file information on all the files from the file-set object
allFilesInfo
= resolve(fs
)fs
.
Input Arguments
Output Arguments
Examples
Get File Information on All Files
Create a file-set object and get information for all the files in the file-set object at the same time.
Create a file-set object for all .mat
files in a
folder.
folder = fullfile(matlabroot,'toolbox','matlab','demos'); fs = matlab.io.datastore.DsFileSet(folder,'FileExtensions','.mat');
Obtain a table with information on all the files using resolve
.
The table contains columns for FileName
and
FileSize
.
allfiles = resolve(fs);
Version History
Introduced in R2017b
See Also
matlab.io.datastore.DsFileSet
| hasfile
| maxpartitions
| nextfile
| partition
| reset