How introduce a delay of one second in MATLAB?

153 次查看(过去 30 天)
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)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by