create time step in MATLAB

3 views (last 30 days)
Ali
Ali on 4 Jul 2013
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

Accepted Answer

Image Analyst
Image Analyst on 4 Jul 2013
Try using the pause(1) function.
pause(1); % Delay for 1.0 seconds.

More Answers (1)

Ali
Ali on 5 Jul 2013
Thank You So Much

Tags

Community Treasure Hunt

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

Start Hunting!