speed, functions and overheads
Show older comments
Dear all,
I have noticed using functions, nested functions and sub-functions considerably decrease the speed of execution. Is it possible to decrease the overhead incurred when calling a function?
Thanks, Patrick
2 Comments
Matt J
on 24 Jun 2013
Decrease it from what? What baseline are you comparing it to?
Sean de Wolski
on 24 Jun 2013
What are you doing?
Have you used the profiler to identify bottlenecks in your code that are more than likely killing way more time than function overhead?
Accepted Answer
More Answers (0)
Categories
Find more on Function Creation 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!