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

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일

0 개 추천

Hi!
Use the profiler, located under "Tools" in the menu bar.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2013년 10월 28일

답변:

2013년 10월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by