Profiling your MATLAB code
If you have complex code that's resource hungry, find the bottlenecks by profiling your code:
[from Anand Venkataraman]
profile on
<run your script here>
profile off
profile report[from Anand Venkataraman]

2 Comments:
At 12:10 PM,
Matthew Simoneau said…
See also the menu item "Desktop > Profiler".
At 5:14 PM,
vivek said…
I somehow feel this is a cruel joke. Profiling on Matlab :)) ... man you ought to be kidding me. Matlab is a dog and I think the biggest bottleneck is Matlab itself. I gave up trying to use Matlab 'coz it is so slow. But I do feel that it runs better on Linux and a Mac. Anyway my 2 cents
Post a Comment
<< Home