How can I record,pause and keep recording with Matlab functions?

2 次查看(过去 30 天)
I am trying to record, pause, and record again an audio with this code, but it doesn't work true and only the last time I push the record, the sound recorded and before efforts lose.
How should I use pause and resume function to make a record/pause button?
if state set(hObject,'String','Pause'); resume(handles.rec); else set(hObject,'String','Record'); pause(handles.rec);
end

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by