how to set timer for record function?

I want to record my voice while counting the time of recording before I stop the record?
rec = audiorecorder;
record(rec);
%show time increasing by seconds
stop(rec);

답변 (1개)

KSSV
KSSV 2017년 2월 8일

0 개 추천

Read about tic, toc.You can calculate the time taken using that.

카테고리

도움말 센터File Exchange에서 Clocks and Timers에 대해 자세히 알아보기

질문:

2017년 2월 8일

답변:

2017년 2월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by