MATLAB: How to calculate the execution time of program

executionMATLABoutputtime

When we get desired output in MATLAB.Then how to calculate execution time in MATLAB…

Best Answer

tic
yourCode
timeElapsed = toc