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

2 ビュー (過去 30 日間)
reza
reza 2014 年 12 月 9 日
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 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by