How to test the times cost of each part in a program

1 回表示 (過去 30 日間)
xueqi
xueqi 2013 年 10 月 28 日
回答済み: Simon 2013 年 10 月 28 日
Dear Fellows,
I am trying to improve a program which runs very slowly. As there are a lot of nested functions, I need to find out which function costs the most time. Do you know how to realize that? For example, the main funciton call function1 and function1 calls function2 and so on...How could I indentify which function costs the enormous time?

採用された回答

Simon
Simon 2013 年 10 月 28 日
Hi!
Use the profiler, located under "Tools" in the menu bar.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVariables についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by