https://nl.mathworks.com/help/ecoder/ref/maximumselftimecallnum.html
MaximumSelfTimeCallNum - Get the call number at which the maximum number of timer ticks occurred,...
This MATLAB function returns the call number at which the maximum number of self-time ticks occurred for the profiled code section.
get thecall number