Pausing code for some time
显示 更早的评论
How to pause the code execution for a given amount of time in matlab ( similar to Sleep() or delay() in c++)?
回答(1 个)
Manish Kumar
2020-6-26
You can use pause function.
pause(n);
It will pause your code execution for n seconds.
pause(n);
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!