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

Réponses (1)

Manish Kumar
Manish Kumar le 26 Juin 2020

0 votes

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

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by