List Physical Drives

List the physical drives that are available on a system.
66 Downloads
Updated 2 Dec 2022

View License

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 (2026). List Physical Drives (https://nl.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 Linux
Version Published Release Notes
1.0.1

Added missing local function

1.0.0