Which MATLAB Profiler Timing Column Should Drive Optimization for Wrapper Functions?
When a MATLAB function spends most of its execution inside small helper routines, the Profiler can present conflicting signals. Self time isolates the function body, while total time includes every callee. If the helpers are shared across the codebase or already optimized, self time may point to the right target; if the entire call tree is under your control