How to add wall clock time as a termination condition

Hi
I would like to add wall clock time as the termination condition for my loop. How can I do it ? Thanks

 采纳的回答

Okay! I found it. It was quite simple, I just use toc for the termination.

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by