Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fullfile

MATLAB fullfile function


Description

Contructs path to a file from components in platform-independent manner

Usage

fullfile(...)

Arguments

...

character strings representing path components

Details

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.

Value

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.

Author(s)

See Also

Examples

fullfile("", "etc", "profile")	# /etc/profile

matlab

MATLAB emulation package

v1.0.2
Artistic-2.0
Authors
P. Roebuck
Initial release
2014-06-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.