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]

2 comments:

Anonymous said...

See also the menu item "Desktop > Profiler".

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

Moving to a new website

This website was intended to be a little collection of tips and tricks, but I haven't been able to update it as often as I originally in...