I made GUI in matlab to play .wav. But I have problem, at callback fcn. I put that code
[y,Fs] = wavread('signalExp01-22KHz.wav');player=audioplayer(y,Fs);play(player)
but that`s not work.
But I change like this
[y,Fs] = wavread('signalExp01-22KHz.wav');sound(y,Fs);
that`s work. But I can`t stop music during playing.
Best Answer