You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Richard Moore (2026). DirSize (https://www.mathworks.com/matlabcentral/fileexchange/41300-dirsize), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: DirSizePretty
General Information
- Version 1.1.0.0 (1.38 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
