| << dir | Files and folders functions | filesep >> |
| [p, f, e] = fileparts(fullpath) |
| p = fileparts(fullpath, 'path') |
| f = fileparts(fullpath, 'filename') |
| e = fileparts(fullpath, 'extension') |
a string: file or directory name.
a string: path of the directory fullpath.
a string: file name without extension of fullpath.
a string: extension name of fullpath.
[p ,f, e] = fileparts(fullpath) splits in its three parts: path, filename, extension including the dot.
[p, f, e] = fileparts([nelsonroot(), '/etc/finish.m'])
p = fileparts([nelsonroot(), '/etc/finish.m'], 'path')
f = fileparts([nelsonroot(), '/etc/finish.m'], 'filename')
e = fileparts([nelsonroot(), '/etc/finish.m'], 'extension')
isdir, isfile, pathsep, filesep.
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET