getAttachedFilesFolder
Identify folder on a worker where attached files are copied to
Description
returns the
path to the folder on the current worker where attached files are copied to. Attached files
are specified by the folder
= getAttachedFilesFolderAttachedFiles
of the job that the worker is
currently running.
If getAttachedFilesFolder
is evaluated on a worker,
folder
is the path to the local folder. Otherwise,
folder
is an empty character vector.
uses folder
= getAttachedFilesFolder(filename
)filename
to search for files or folders in the attached files
folder.
Attached files are specified by the AttachedFiles
of the job that
the worker is currently running. A match is found if a file or folder specified in the
AttachedFiles
property ends with filename
. If a
folder is specified in the AttachedFiles
property, no matches can be
found for any files in that folder.
If only one file or folder matches, folder
is the path to that file
or folder. If multiple files or folders match, folder
is a cell array
containing every matching path. If filename
does not match the name of
an attached file or folder, folder
is an empty cell array.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2012a