Keep playing a sound over and over again in Matlab?
问题 I'm trying to create a MATLAB program to play a sound over and over again every couple of minutes. Right now I have it set to play every couple of seconds, just to get some bugs out of the system. However, when my program tries to replay the sound I get this error: ??? Error using ==> audioplayer.audioplayer>audioplayer.resume at 710 A given audio device may only be opened once. Error in ==> audioplayer.play at 88 obj.resume(); Error in ==> audiorecorder.audiorecorder>audiorecorder.play at