Get file name of file read by datastore
n = getCurrentFilename(ds,info)
If your custom datastore subclasses from
then it inherits a
getCurrentFilename method that retrieves the file name
info output of the
read method. If the datastore
primarily works with files that require multiple reads per file, then you must implement your
methods in the subclass. These methods tell the datastore which file is being read, and
whether the file requires multiple reads.
n — File name
File name, returned as a character vector.
To learn about attributes of methods, see Method Attributes.
Introduced in R2020a