Dependency analyzer refuses to work

I have tried to run the Dependency Analyzer from the Apps tab countless times and it has only worked once. I didn't do anything differently from the previous and next attempt, it just randomly worked. I have tried selecting individual files and whole folders. It shows it's analyzing each item, then throws an error and says it's "Updating the graph" forever and all you can do is close the window.
I've tried reinstalling and updating Matlab, running as administrator, trying different file types, etc. all to no avail.

3 件のコメント

Stephen23
Stephen23 8分 前
If you don't mind losing your settings, try closing MATLAB and deleting your preferences directory. Oftentimes when MATLAB gets repeatedly stuck on something like this, the cause is stored in the preferences directory:
Steven Lord
Steven Lord 約3時間 前
In case it is a preferences problem, you might want to make a backup copy of the preferences folder somewhere other than prefdir before deleting the preferences folder for that release. That way, if it resolves the problem, you could zip the back up copy and send it to Technical Support so they can investigate what in the preferences folder caused the error.
Courtney
Courtney 約8時間 前
@Stephen23 This did not solve it. I'm working on a pretty fresh installation of MATLAB as well. I only selected to install MATLAB and Simulink to start. Do you know if I need any other add-ons to get the Dependency Analyzer to work?

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

回答 (1 件)

Matt J
Matt J 約5時間 前
編集済み: Matt J 約5時間 前

0 投票

Do you really need all the features of the app environment for what you are doing? You can analyze dependencies programmatically with matlab.codetools.requiredFilesAndProducts. If nothing else, running it might help determine if the problem is in your dependency tree or in the app itself.

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2025b

タグ

質問済み:

2026 年 3 月 25 日 23:35

編集済み:

2026 年 3 月 26 日 21:31

Community Treasure Hunt

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

Start Hunting!

Translated by