How to pause the code execution for a given amount of time in matlab ( similar to Sleep() or delay() in c++)?

답변 (1개)

Manish Kumar
Manish Kumar 2020년 6월 26일

0 개 추천

You can use pause function.
pause(n);
It will pause your code execution for n seconds.
pause(n);

카테고리

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

태그

질문:

2020년 6월 26일

답변:

2020년 6월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by