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 LinuxCategories
- Test and Measurement > Instrument Control Toolbox > Driver-Based Instrument Communication > Instrument Driver Communication >
Find more on Instrument Driver Communication in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
