PARENT parent directory of path
Contents
inputs
Outputs
Examples:
inputs
file: path to file or folder
Outputs
par: parent directory of path
Examples:
stdlib.parent('a/b/c') 'a/b' stdlib.parent('a/b/c/') 'a/b'
Published with MATLAB® R2026a