Matlab Data Functions Performance. Random time to execute

I am using Spotfire with data functions written in Matlab.

The time it takes the same application to run seems rather random from very short to never ending, whether we are running from Spotfire locally or via the Webplayer.

Is this a feature of running Matlab under Spotfire or are there configurations we should look into?.

(1) Answer