Why does Ctrl+C not halt the SOUND command in MATLAB 7.0 (R14) and later versions under Mac OSX?
조회 수: 2 (최근 30일)
이전 댓글 표시
The following steps illustrate the problem:
1. Execute the following code:
a=0:0.1:1e6;
sound(a);
2. Now, try to break out of SOUND command using Ctrl+C
The SOUND command will complete execution before throwing an error due to Ctrl+C.
채택된 답변
MathWorks Support Team
2012년 1월 12일
This enhancement has been incorporated in Release 2011b (R2011b). For previous product releases, read below for any possible workarounds:
As a workaround, use the following command to interrupt the SOUND command:
clear playsnd
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!