Learn R Programming

PopED (version 0.3.2)

fileparts: MATLAB fileparts function

Description

Get the various parts of a file with path string.

Usage

fileparts(filename.with.path)

Arguments

filename.with.path

A string of a filename with a path

Value

A list with the following components:

pathname

The path name

filename

The file name

fileext

The file extension

See Also

Other MATLAB: cell, diag_matlab, feval, isempty, isfield, ones, randn, randperm, rand, size, tic, toc, zeros

Examples

Run this code
# NOT RUN {
fileparts("ggg/ttt/lll.R")

# }

Run the code above in your browser using DataLab