isplaying function gives an error

i try to play wav file. when i add this code, my program doesn't work. what's wrong?
if isplaying(pl)
pause(pl);
set(handles.Play,'string','Play');
else
resume(pl);
set(handles.Play,'string','Pause');
end

Antworten (0)

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

The
am 21 Mär. 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by