views:

53

answers:

1

I have a Matlab program that is running longer than I'd like it to. Is there built-in way to profile Matlab, similar to how time works in unix?

+5  A: 

There are three ways:

The profiler allows you to see how much time each line takes, and thus, it is the best way to find bottlenecks.

Jonas