The function scans all subfolders of given directory, and returns
a list of all subfolders and their size.
The size of a folder is the sum of all its files size + sum of all its
subfolders size.
Cite As
Yanai (2026). folderSizeTree (https://ch.mathworks.com/matlabcentral/fileexchange/29198-foldersizetree), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: BiofilmQ
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
