Level folder string
Version 1.1.0.0 (2.29 KB) by
Nikolay S.
The function returns user chosen level folder name out of path provided.
Folder name usually carries some description of the files stored in the folder. However, it is sometimes interesting to use the name of a folder on a higher level. This function returns the string user chosen level folder, eliminating the need to present the whole path in cases it is obsolete.
Cite As
Nikolay S. (2026). Level folder string (https://in.mathworks.com/matlabcentral/fileexchange/40296-level-folder-string), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
