tic toc can be used for this purpose. if you are developing a more complex code and want to see where are the bottleneck are, you can use matlab profiler.
It is a graphical user interface that shows you where your program is spending its time during execution. Use the Profiler to help you determine where you can modify your code to make performance improvements.
tic toc can be used for this purpose. if you are developing a more complex code and want to see where are the bottleneck are, you can use matlab profiler.
It is a graphical user interface that shows you where your program is spending its time during execution. Use the Profiler to help you determine where you can modify your code to make performance improvements.