Help me about sound in Matlab ?
조회 수: 4 (최근 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에서 Audio and Video Data에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!