How can I play a Windows media file using the appropriate activex control in my GUI in MATLAB
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 3 Dez. 2009
Bearbeitet: MathWorks Support Team
am 19 Dez. 2014
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?
Akzeptierte Antwort
MathWorks Support Team
am 18 Okt. 2013
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu ActiveX finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!