Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

File Name Construction

Components of full paths, including folders, extensions, and separators

Functions

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
toolboxdirRoot folder for specified toolbox

Topics

Specify File Names

Contruct 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.

Was this topic helpful?