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 |
matlabroot |
Root folder |
toolboxdir |
Root folder for specified toolbox |
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.
Use the tempdir
function to return the name of the folder designated to hold temporary files on your system.