주요 콘텐츠

getAttachedFilesFolder

Identify folder on a worker where attached files are copied to

    Syntax

    Description

    folder = getAttachedFilesFolder returns the path to the folder on the current worker where attached files are copied to. Attached files are specified by the AttachedFiles 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.

    folder = getAttachedFilesFolder(filename) uses 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.

    example

    Examples

    collapse all

    Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

    Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant