Created
June 15, 2011 13:34
-
-
Save romanz/1027096 to your computer and use it in GitHub Desktop.
MATLAB profiling API demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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