create time step in MATLAB

hi dears how I can create time step in MATLAB by coding for example how I can run a loop whit 1 second between each etaration Thank U all

 采纳的回答

Try using the pause(1) function.
pause(1); % Delay for 1.0 seconds.

更多回答(1 个)

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by