What is the equivalent datetime() call to the clock() function?
4 次查看(过去 30 天)
显示 更早的评论
I have some code from 2010 that uses clock(), which is not recommended in R2022b. clock() returns an array of double. How can I get this result by using datetime()? I don't see any examples that do this. For example,
c = clock
c is [2024 4 5 10 47 21.9]
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Clocks and Timers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!