GetVolumes

Get an overview of all mounted USB/SD devices
225 Downloads
Updated 11 Sep 2014

View License

Get an overview of all mounted USB/SD devices, and provide free space.
>> vol = GetVolumes('SD_2GB')
vol =
Volume: '/media/jan/SD_2GB'
Label: 'SD_2GB'
BytesFree: 690913280
>> GetVolumes % to get a full overview

Cite As

Jan de Wilde (2026). GetVolumes (https://uk.mathworks.com/matlabcentral/fileexchange/45763-getvolumes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.3.0.0

% V1.05 11-09-2014 Nicer layout when nargout==0

1.2.0.0

Minor bugs solved; now can deal with volumes with no Label

1.1.0.0

Minor bugs solved; now can deal with volumes with no label.

1.0.0.0