[p, f, e] = fileparts(fullpath)
p = fileparts(fullpath, 'path')
f = fileparts(fullpath, 'filename')
e = fileparts(fullpath, 'extension')
| Paramètre | Description |
|---|---|
| fullpath | a string: chemin de fichier ou de répertoire. |
| Paramètre | Description |
|---|---|
| p | a string: chemin du répertoire defullpath. |
| f | a string: nom de fichier sans extension defullpath. |
| e | a string: extension defullpath. |
[p, f, e] = fileparts(fullpath) sépare le chemin en trois parties : chemin, nom de fichier, extension (incluant le point).
[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')
| Version | Description |
|---|---|
| 1.0.0 | initial version |