MATLAB fullfile function
Contructs path to a file from components in platform-independent manner
fullfile(...)
... |
character strings representing path components |
Builds a full filename from the directories and filename specified. This is conceptually equivalent to
paste(dir1, dir2, dir3, filename, sep=filesep)
with care taken to handle cases when directories begin or end with a separator.
Returns character vector of arguments concatenated term-by-term and separated by file separator if all arguments have a positive length; otherwise, an empty character vector.
P. Roebuck proebuck@mdanderson.org
fullfile("", "etc", "profile") # /etc/profile
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.