Skip to content

Instantly share code, notes, and snippets.

@romanz
Created June 15, 2011 13:34
Show Gist options
  • Save romanz/1027096 to your computer and use it in GitHub Desktop.
Save romanz/1027096 to your computer and use it in GitHub Desktop.
MATLAB profiling API demo
profile('on');
%%%%%%%%%%%%%%%%%%%
% Code to profile %
%%%%%%%%%%%%%%%%%%%
profile('off');
prof = profile('info');
profview(0, prof);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment