MATLAB Tips and Tricks

Tuesday, March 08, 2005

Profiling your MATLAB code

If you have complex code that's resource hungry, find the bottlenecks by profiling your code:
profile on
<run your script here>
profile off
profile report

[from Anand Venkataraman]