How introduce a delay of one second in MATLAB?

조회 수: 5(최근 30일)
Harsha KVK
Harsha KVK 2022년 7월 7일
댓글: Karim 2022년 7월 7일
I am trying create an application where user can record an audio and listen back to it. For that I also want to display a counter in the UI which shows the time in seconds.I tried using loops but I wàs not able to generate a dalay. Can anyone please help me with this?

채택된 답변

Karim
Karim 2022년 7월 7일
편집: Karim 2022년 7월 7일
you can use the "pause" function, this will pause matlab for the given amount of time
pause(1)
  댓글 수: 2
Karim
Karim 2022년 7월 7일
you are welcome, if it works for you may always accept the answer :)

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by