CD/DVD Drive question

1 Ansicht (letzte 30 Tage)
Darryl Hwang
Darryl Hwang am 28 Aug. 2018
Beantwortet: Walter Roberson am 28 Aug. 2018
I'm trying to create a GUI which will have push buttons appear when a CD/DVD is inserted into the drive. Is there a way to sense when a disk is inserted into the drive in Matlab and also, is there are way to programmically eject that disk after it is inserted?

Antworten (1)

Walter Roberson
Walter Roberson am 28 Aug. 2018
MATLAB does not provide any methods for detecting CD/DVD insertion, nor for ejecting a CD/DVD.
If you are using MS Windows, then you could potentially use ActiveX; https://docs.microsoft.com/en-us/windows/desktop/directshow/eject-method

Kategorien

Mehr zu Manage Products 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!

Translated by