Main Content
previousfile
Syntax
Description
Examples
Input Arguments
Output Arguments
Tips
The
previousfile
function returns an error if no files have been read from theFileSet
object. To avoid this error, usepreviousfile
along withhasPreviousFile
andreset
. ThehasPreviousFile
method checks if a file still remains in theFileset
object, while thereset
method resets the internal pointer to the beginning of theFileset
object.
Version History
Introduced in R2020a