Filter löschen
Filter löschen

Help me about sound in Matlab ?

2 Ansichten (letzte 30 Tage)
Nguyen Trong Nhan
Nguyen Trong Nhan am 1 Jan. 2014
Beantwortet: Walter Roberson am 1 Jan. 2014
when I use msgbox. I'd like it have a sound when the msgbox appear. How do I do that ? thanks very much.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Jan. 2014
You cannot exactly synchronize them, but you can set up an audioplayer() and use its play() method just before you start the msgbox, and you can stop() it when the user dismissed the msgbox() . See also waitfor() to detect the dismissal of the msgbox()

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by