fullfile - Build full file name from parts
This MATLAB function builds a full file specification from the specified
folder and file names.
Syntax
f = fullfile(filepart1,...,filepartN)
Input Arguments
filepart1,...,filepartN - Folder or file names
character vectors | string arrays | cell arrays of character vectors
Output Arguments
f - full file specification
character array | string array | cell array of character vectors
Examples
openExample('matlab/CreateAFullFileNameExample')
openExample('matlab/CreateAFullFilePathOnUNIXExample')
openExample('matlab/CreatePathstoMultipleFilesExample')
openExample('matlab/CreateaPathtoaFolderExample')
See also fileparts, filesep, path, pathsep, genpath, split
Introduced in MATLAB before R2006a
Documentation for fullfile
doc fullfile