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 (2024). GetVolumes (https://www.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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.