How to check how long implementation time took

3 visualizzazioni (ultimi 30 giorni)
med-sweng
med-sweng il 21 Mar 2013
Is there a way in `matlab` (i.e; function) to check how long your program took to finish running?
Thanks.

Risposte (1)

Image Analyst
Image Analyst il 21 Mar 2013
How about tic and toc?
tic;
% Run some code...
toc
Or there's the Run and Time function on the tool ribbon.

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by