フィルターのクリア

How to store execution time in execution time in runtime

28 ビュー (過去 30 日間)
Jhilam Mukherjee
Jhilam Mukherjee 2015 年 10 月 1 日
回答済み: Jan 2015 年 10 月 1 日
I have executed my program code and measure its execution time using tic toc. Is it possible to store this value run time in a excel file. Is there is another code to find execution time that can store it.

採用された回答

Adam
Adam 2015 年 10 月 1 日
tic
...some code...
t = toc;
will store the time in 't'. Then you can do whatever you want with it from there.

その他の回答 (1 件)

Jan
Jan 2015 年 10 月 1 日
Storing a time in an Excel file works exactly as storing any other value in an Excel file. See help xlswrite.
Using tic and toc is a smart way to determine the execution time, but storing values in a file is not its job. So you actual problem concerns writing data to files. So please specify what you have tried so far and which problems occur.

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by