List Physical Drives
Version 1.0.1 (3.78 KB) by
Eivind Hennestad
List the physical drives that are available on a system.
Summary
Simple system utility function which returns a table containing information about physical drives available on a system.
Example
Todos
- Implement for linux systems
- Add internal, external (how to get this on pc?)
- On mac, file system is not correct...
- On mac, don't show partitions?
- On windows, is the serial number complete?
- On mac, add serial number
- On mac, parse result when using -plist instead?
- On windows, use 'where drivetype=3' i.e 'wmic logicaldisk where drivetype=3 get ...' ?
Cite As
Eivind Hennestad (2023). List Physical Drives (https://www.mathworks.com/matlabcentral/fileexchange/121143-list-physical-drives), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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.