Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by