Why does Ctrl+C not halt the SOUND command in MATLAB 7.0 (R14) and later versions under Mac OSX?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
Réponse acceptée
MathWorks Support Team
le 12 Jan 2012
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!