How can I "profile" just my .m functions??

5 views (last 30 days)
Noname
Noname on 8 May 2015
Answered: Adam on 8 May 2015
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
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 Programming 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!