DirSize
版本 1.1.0.0 (1.4 KB) 作者:
Richard Moore
Determine the size of a folder/directory in bytes, including all subdirectories.
bytes = DirSize('pathOfInterest');
Sometimes I write a script that needs to know how large directories are. I couldn't find a function to already do this, so took a stab at it.
引用格式
Richard Moore (2025). DirSize (https://www.mathworks.com/matlabcentral/fileexchange/41300-dirsize), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 File Operations 的更多信息
标签
致谢
启发作品: DirSizePretty
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!