Hi,,is there any command which will show the time that MATLAB has used to execute the whole program? TIA

1 view (last 30 days)
how do I find the time required to get the program done?

Accepted Answer

Jan
Jan on 19 May 2016
tic;
callYourFunction;
toc
And if graphics are created, insert a drawnow before the toc.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!