How can I export the "elapsed time" (tic-toc result) to excel?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Star Strider
am 23 Aug. 2014
Bearbeitet: Star Strider
am 23 Aug. 2014
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 Kommentare
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!