How to find which function is calling another function?

When I compile my matlab codes (using command line on linux), functions plotroc.m in nnt toolbox is called. I want to know what function in my code is calling is using that, directly or indirectly. That is, in my code I might not have used the plotroc.m directly but I may have used another function and that function might have called plotroc.m

1 件のコメント

David Goodmanson
David Goodmanson 2018 年 3 月 25 日
Hi Mina, take a look at 'doc dbstack'.

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2018 年 3 月 25 日

8 投票

Try clicking on the little down arrow on the title bar of the Current Folder panel and create a "Dependency Report".

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

質問済み:

2018 年 3 月 8 日

回答済み:

2018 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by