How can I export the "elapsed time" (tic-toc result) to excel?
27 次查看(过去 30 天)
显示 更早的评论
I have run a function, and I have exported with xlswrite all the variables in excel. Now I want to export in Excel the elapsed time (the result of tic-toc). How can I do that?
0 个评论
回答(1 个)
Star Strider
2014-8-23
编辑:Star Strider
2014-8-23
With an output argument, toc will store the elapsed time.
Example:
tic
pause(1.5)
et = toc
You can then write the value of the output ( ‘et’ here ) to Excel just as you would any other value.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!