Main Content
Filename Construction
Components of full paths, including folders, extensions, and
separators
You can use MATLAB® functions to get information about file paths or to build a full path from its parts. A full path to a file consists of the path folders, the filename, and its extension.
Functions
Topics
- 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.