Documentation

This is machine translation

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

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

File Name Construction

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

Functions

fileparts Parts of file name and path
fullfile Build full file name from parts
filemarker Character to separate file name and internal function name
filesep File separator for current platform
tempdir Name of system's temporary folder
tempname Unique name for temporary file
matlabroot Root folder
toolboxdir Root folder for specified toolbox

Topics

Specify File Names

If you do not specify a path name when accessing a file, MATLAB® first searches in the current folder. To indicate a file in a particular location, specify a path name.

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?