Get Drive Volume information
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Iacopo
am 25 Aug. 2022
Beantwortet: Iacopo
am 26 Aug. 2022
Hi all,
Is there an instruction in Matlab I can use to get and save Drive Serial Information of an installed hard drive (ex. C:\ drive)? Any suggestion will be helpful!
Thanks in advance
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 25 Aug. 2022
S = system('wmic diskdrive get serialNumber')
Though I see some sites say
S = system('wmic bios get serialNumber')
The output is probably going to be two lines, with the first one being a header.
At the moment I do not know what happens if you have multiple drives.
1 Kommentar
Weitere Antworten (2)
Chunru
am 25 Aug. 2022
For windows machine, you can do the following:
[status, outpyt] = system("wmic diskdrive get model,serialnumber")
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!