Learn R Programming

PopED (version 0.7.0)

fileparts: MATLAB fileparts function

Description

Get the various parts of a file with path string.

Usage

fileparts(filename.with.path)

Value

A list with the following components:

pathname

The path name

filename

The file name

fileext

The file extension

Arguments

filename.with.path

A string of a filename with a path

See Also

Other MATLAB: cell(), diag_matlab(), feval(), isempty(), ones(), rand(), randn(), size(), tic(), toc(), zeros()

Examples

Run this code

fileparts("ggg/ttt/lll.R")

Run the code above in your browser using DataLab