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. (2024). Level folder string (https://www.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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.