How can I play a Windows media file using the appropriate activex control in my GUI in MATLAB
조회 수: 1 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2009년 12월 3일
편집: MathWorks Support Team
2014년 12월 19일
I have a GUI which has a Windows Media Player activex control. How can I choose the movie I want to play in this activex?
채택된 답변
MathWorks Support Team
2013년 10월 18일
To play a movie in the activex control, the URL method of the activex control can be used.
The attached example has a GUI with a windows media player activex embedded. A push button in the GUI, when pushed, plays a file in the media player.
To achieve this, in the push button's callback, the following lines have been added:
handles.activex1.URL = 'testmovie.wma';
Here testmovie.wma is any movie file that a user is interested in playing.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 ActiveX에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!