getFoldersSize(NameFolder)
Version 1.0.0.0 (1.25 KB) by
Michele Barsotti
Returns the size of folders and files in a specified directory
SIZE = getFolderSize('Path Of The Directory')
In SIZE will be the size of each folder and each file that are in the 'Path Of The Directory' you specified.
Cite As
Michele Barsotti (2026). getFoldersSize(NameFolder) (https://uk.mathworks.com/matlabcentral/fileexchange/65722-getfolderssize-namefolder), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
