How can I export the "elapsed time" (tic-toc result) to excel?
13 ビュー (過去 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!