matlab.io.datastore.FileWritable.getFiles - Get files backing datastore - MATLAB (original) (raw)

Main Content

Class: matlab.io.datastore.FileWritable
Namespace: matlab.io.datastore

Get files backing datastore

Description

[f](#mw%5F7869627d-e141-4ee8-80aa-a99250ed53fe) = getFiles([ds](#d126e520961)) returns a list of files backing the datastore ds.

If your custom datastore subclasses from matlab.io.datastore.FileWritable, then it inherits a getFiles method that refers to theFiles property of the datastore. So, if the datastore does not have aFiles property, then you must implement your owngetFiles method in the subclass.

Input Arguments

Output Arguments

expand all

List of files, returned as a cell array of character vectors oriented as a column vector. The cell array contains absolute paths to the files referenced by the datastore.

Version History

Introduced in R2020a