
40 Accelerating MATLAB
®
Performance
funcNames = {profData.FunctionTable(funcIdx).FunctionName};
for idx = 1: length(funcNames);
disp([repmat(' ',1,offset(idx)) funcNames{idx}]);
end
which generates the following calling list in the MATLAB Command Window:
isempty
isempty
transpose
meshgrid
peaks
nargchk
error
ishg2parent
...
Unfortunately, the history information does not by default contain specic timing of
each function entry/exit. But we can still make good use of it, by looking at the sequence
in which the functions were called by each other.
To retrieve actual history timing information, we can run prole with the undocu ...