필터 지우기
필터 지우기

determine which function is calling what functions

조회 수: 7 (최근 30일)
jeff wu
jeff wu 2012년 4월 22일
hi everyone,
i wonder if there is any way in matlab to tetermine which function is called by witch. i got allredy 2500 lines of gui code and in order to clean up ( not to do the thame thing twice) it would be usefull to kno who is calling who and who is called by whome
thanks a lot

답변 (1개)

Jan
Jan 2012년 4월 22일
Do you want to find the calling stack during the computation or statically?
The function dbstack replies the calling stack. The profiler can create a history also, see doc profile.
  댓글 수: 1
jeff wu
jeff wu 2012년 4월 22일
thanks for ur answer,
i just want to know whos is calling who in general so i gues statically.
i just want to know if i am calling some functions more often than i have to.
im quiete new to matlab and programming in general so the older parts of the code are probally inefficiant ( or better : the old parts of the code ar more inaficiant than the newer one ;-) )

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Performance and Memory에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by