Matlab: How to profile inefficient lines of code with running count visualisation?
6 次查看(过去 30 天)
显示 更早的评论
I need to find lines that are executed most. For example, Eclipse has a plugin at least for Java that shows the line counts. Does this kind of plugin or tool exist with Matlab?
P.s. I asked the same question in SO: I don't know yet which place is better for Matlab-style questions -- anyway I will close one when other solved and then redirect -- sorry about cross-posting but this is important thing in profiling.
0 个评论
采纳的回答
David Barry
2013-5-20
No it's there in 2012a but just hidden away. You will be able to use the commands in the link above.
更多回答(1 个)
David Barry
2013-5-20
You should lookup the MATLAB Profiler. This is easily accessible through the toolbar in 2012b onwards (run and time is one way).
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!