How to check how long implementation time took

4 visualizaciones (últimos 30 días)
med-sweng
med-sweng el 21 de Mzo. de 2013
Is there a way in `matlab` (i.e; function) to check how long your program took to finish running?
Thanks.

Respuestas (1)

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

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by