CD/DVD Drive question

조회 수: 5 (최근 30일)
Darryl Hwang
Darryl Hwang 2018년 8월 28일
답변: Walter Roberson 2018년 8월 28일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2018년 8월 28일
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

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by