Why does MATLAB 6.5 (R13) crash or stop playing sounds when I use the SOUND function in a FOR loop?
Show older comments
I am using the SOUND function in a FOR loop. At some point in the loop after MATLAB plays some of the sounds, MATLAB stops playing sounds. After my program has finished I can not play sounds anymore. However, I still can play WAV files using Windows Media Player despite MATLAB not being able to play sounds.
Sometimes I will receive a Windows system error dialog box explaining that a certain address in memory could not be read. Clicking "OK" terminates MATLAB.
Restarting MATLAB does not always solve the problem. The only way to be able to play sounds with MATLAB is to reboot the computer, but when I run my code again the problem reappears.
Accepted Answer
More Answers (0)
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!