Help me about sound in Matlab ?
2 ビュー (過去 30 日間)
古いコメントを表示
when I use msgbox. I'd like it have a sound when the msgbox appear. How do I do that ? thanks very much.
0 件のコメント
採用された回答
Walter Roberson
2014 年 1 月 1 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!