rdir.m
Version 1.1.0.0 (1.34 KB) by
Corey
Function returns all subfiles, subdirectories, and size of a directory
This function takes in an absolute folder directory and returns the absolute path of all subfiles, subfolders, and the size of the directory.
This function helped me create an automatic backup script on my computer.
Cite As
Corey (2025). rdir.m (https://www.mathworks.com/matlabcentral/fileexchange/47125-rdir-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Search Path in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: genToolboxHelp
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.