Azzera filtri
Azzera filtri

Help me about sound in Matlab ?

2 visualizzazioni (ultimi 30 giorni)
when I use msgbox. I'd like it have a sound when the msgbox appear. How do I do that ? thanks very much.

Risposta accettata

Walter Roberson
Walter Roberson il 1 Gen 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()

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by