Finding toolbox dependencies through subfolders

4 ビュー (過去 30 日間)
MikeStein
MikeStein 2015 年 3 月 26 日
コメント済み: MikeStein 2015 年 3 月 30 日
Hi All,
I'm unfortunately quite frustrated trying to do something that I feel should be very simple... I'm trying to compile a file with a number of folders added as well. I'm getting a License Checkout Error for the Control Toolbox, which I don't recall ever calling... So I'm trying to figure out which of my thousands of functions are dependent on this particular toolbox.
So how do I find which file is dependent on this toolbox? It looks like I can run dependency analyses on individual folders, but that would also be horrendously tedious. I'm really frustrated that the License Checkout error doesn't list the originating function that calls the toolbox (rather than depfun or mcc, where the error is thrown from).
Depfun finds the same error, but it just throws the error, rather than informing me what the dependency that caused it was... useless. Same with mcc
I'm open to all ideas. Thanks, Mike

採用された回答

Image Analyst
Image Analyst 2015 年 3 月 28 日
Michael, did fdep() work for you?
  1 件のコメント
MikeStein
MikeStein 2015 年 3 月 30 日
Yes, thank you! -Mike

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2015 年 3 月 26 日
Did you try to generate a dependency report for the files in your folder? It should say what dependent m-files are there for each file.
  2 件のコメント
MikeStein
MikeStein 2015 年 3 月 27 日
So I can run the dependency tool on my top-level script, which is good and all, but it can't look for dependencies in the whole library that I ask the compiler to also include. To that extent, no that is not sufficient.
I have the compiler add the whole library because of data and setup .mat files that my top-level script loads in. While my top level script may not be explicitly dependent on certain files, those loaded objects may. The dependency report will not allow me to analyze the whole library to this detail.
Other ideas?
Image Analyst
Image Analyst 2015 年 3 月 27 日
You can try fdep() - it's the most comprehensive tool of it's kind for MATLAB.

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

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by