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);

Respuestas (1)

KSSV
KSSV el 8 de Feb. de 2017

0 votos

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

Categorías

Etiquetas

Preguntada:

el 8 de Feb. de 2017

Respondida:

el 8 de Feb. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by