Main Content
getFolders
Class: matlab.io.datastore.FileWritable
Namespace: matlab.io.datastore
Syntax
f = getFolders(ds)
Description
returns a
list of folders backing the datastore f
= getFolders(ds
)ds
.
If your custom datastore subclasses from matlab.io.datastore.FileWritable
,
then it inherits a getFolders
method that refers to the
Folders
property of the datastore. So, if the datastore does not have a
Folders
property, then you must implement your own
getFolders
method in the subclass. For information on adding a
Folders
property, see matlab.io.datastore.FoldersPropertyProvider
.
Input Arguments
Output Arguments
Version History
Introduced in R2020a