What functions does the main file call?

2 ビュー (過去 30 日間)
Ariwan
Ariwan 2021 年 7 月 21 日
コメント済み: Rik 2021 年 7 月 21 日
Say I have the main file A
A calls function B, C and D
Functions B uses function E and function C uses function F
These are all custom made functions (i.e. made by me, so no pre-build like "max" or "sum" )
Is there a function / way for MATLAB to give me a (graphical) representation of all the functions (and subsequent functions) used by main file A
  1 件のコメント
Rik
Rik 2021 年 7 月 21 日
You can get a first impression by running the profiler.

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

採用された回答

Bjorn Gustavsson
Bjorn Gustavsson 2021 年 7 月 21 日
My prefered tool is m2html, combined with GraphViz you can get a very neat cross-referenced documentation for your scripts and toolboxes. For one of my toolboxes this type of (cross-linked) graph is what it produces: Skymap-graph.
HTH

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by