Main Content

Costruzione del nome del file

Componenti dei percorsi completi, comprese le cartelle, le estensioni e i separatori


filepartsGet parts of file name
fullfileBuild full file name from parts
filemarkerCharacter to separate file name from local or nested function name
filesepFile separator for current platform
tempdirName of temporary folder for the system
tempnameUnique name for temporary file
matlabrootMATLAB root folder
matlabdriveRoot folder of MATLAB Drive (Da R2021a)
toolboxdirRoot folder for specified toolbox


  • Specify File Names

    Construct valid path and file names including absolute and relative paths.

  • Create Temporary Files

    Use the tempdir function to return the name of the folder designated to hold temporary files on your system.