File Exchange

image thumbnail

subdir

version 1.0.0.0 (1.63 KB) by Tim Myers
Returns the paths of all subdirectories of the root path.

1 Download

Updated 23 May 2005

View License

Returns the paths of all subdirectories of the root path.

Cite As

Tim Myers (2020). subdir (https://www.mathworks.com/matlabcentral/fileexchange/7699-subdir), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Function documentation states that FileExchange submission dirdir is required for use. A broken link is supplied.

As an alternative, please consider including dirdir as a subfunction within subdir, with citation. This would eliminate the need to update the URL, and allow your function to be self-sufficient.

Elena

Plese, correct the '\' character in line 36 and repalce it with filesep for platform independance. '\' is the file separator only for Wondows.

Bingpeng Ma

very good!

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: dirdir