How to check the function call stack during the debugging process

조회 수: 9 (최근 30일)
지원 최
지원 최 2022년 7월 1일
댓글: Image Analyst 2022년 7월 1일
Hello, I want to know about the method of checking function call stack.
I tried to use dbstack, but I think it responds to me a single stack of function call.
What I want to know is all ( not need to all but as much as matlab can ) stack of function call.
Can you help me?

답변 (2개)

Image Analyst
Image Analyst 2022년 7월 1일
Look at the top of your editor window. It's basically right above the source code.
  댓글 수: 2
Image Analyst
Image Analyst 2022년 7월 1일
Maybe it's not in your older version. Click on the yellow bell with the red spot in the upper left corner of MATLAB and download the patch for your version. Or get the latest version if you can.

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


Walter Roberson
Walter Roberson 2022년 7월 1일
What you might be running into is that callback functions are considered to not have a calling function. Each callback is executed in the context of the base workspace, with no parent. This is because callbacks are asynchronous, and "triggered" rather than "called"

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by