isplaying function gives an error

1 view (last 30 days)
The
The on 21 Mar 2013
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

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!