Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
returns the path, filename and extension for a file path
[path, fname, extension] = fileparts(fullpath) value = fileparts(fullpath, sel)
a character string, the given file path.
a optional character string selector, with possible values:
a character string, the path of the directory pointed to by
a character string, the filename part is any or
a character string, the extension part is any or
a character string, depending on
[path, fname, extension] = fileparts(fullpath) splits the
fullpath character string in its three parts: the path of the
directory pointed to, the filename part, the extension part
including the dot.
- pathconvert — pathnames convertion between POSIX and Windows.
- basename — strip directory and suffix from filenames
- fullfile — builds a full filename from parts
|Report an issue|
|<< fileext||Paths - Filenames||filesep >>|