CD/DVD Drive question
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
0 commentaires
Réponses (1)
Walter Roberson
le 28 Août 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
0 commentaires
Voir également
Catégories
En savoir plus sur ActiveX dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!