From: Louie Lu on
Running exactly the same code, Matlab 2009b (win7) takes 990 sec while Matlab 7.1 (win xp) takes only 11 sec. The profiler traces the cause back to symbolic integration. Specifically, in Matlab 2009b, "mupadmex (MEX-function)" is called 5577 times, taking 985.811 sec. However, in Matlab 7.1, a similar function named "maplemex (MEX-function)" is called 2110 times, taking 5.418 sec.

Here are the screenshots on the profiler reports:
Matlab 2009b: http://img412.imageshack.us/img412/2864/m2009b.jpg
Matlab 7.1: http://img32.imageshack.us/img32/4569/m7p1.jpg