List Physical Drives

List the physical drives that are available on a system.

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/121143-list-physical-drives), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Added missing local function

1.0.0