How to calculate the run time for m.file?

9 Ansichten (letzte 30 Tage)
Radwa
Radwa am 5 Feb. 2015
Verschoben: Walter Roberson am 31 Dez. 2024
I have m. file and I want to calculate its run time I, I convert the m.file to functiion and call it in another file
state1 = finalisa3() tt=timeit(state1)
but I get error " Undefined function 'timeit' for input arguments of type 'char'.
Error in ch (line 36) tt=timeit(state1)"

Antworten (1)

Raghava S N
Raghava S N am 31 Dez. 2024
Verschoben: Walter Roberson am 31 Dez. 2024

Kategorien

Mehr zu Startup and Shutdown 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!

Translated by