How can I "profile" just my .m functions??
Show older comments
Hello everybody,
I have a relatively big code and I would like to use "profile" to improve it. When I use "profile" I got a report listing all the functions (built in's, and my .m functions) and their respective running time.
I would like to list just functions written by myself (not the built in's) and their respective running time. Anyone knows how to do that??
Thanks in advance.
Answers (1)
Adam
on 8 May 2015
I'm not aware such an option exists.
You can put
profile on
profile off
instructions surrounding a smaller part of your code though to have fewer functions in total included.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!