Help me about sound in Matlab ?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Nguyen Trong Nhan
le 1 Jan 2014
Réponse apportée : Walter Roberson
le 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.
0 commentaires
Réponse acceptée
Walter Roberson
le 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()
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Audio and Video Data dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!