isplaying function gives an error

1 次查看(过去 30 天)
The
The 2013-3-21
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

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by