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.

댓글 수: 6

Stephen23
Stephen23 2026년 3월 25일
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 2026년 3월 26일
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 2026년 3월 26일
@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?
Kenneth Davis
Kenneth Davis 2026년 4월 3일 23:47
I've tried the dependency Analyzer a few times with the same result. The Dependency Analyzes really shouldn't break MATLAB forcing me to kill and restart it.
Ben
Ben 2026년 4월 13일 17:11
I have the EXACT same problem. Never had any trouble with 2025a and earlier. This is a very helpful app so please fix :-)
Stephen23
Stephen23 2026년 4월 14일 18:53
편집: Stephen23 2026년 4월 14일 19:21
"This is a very helpful app so please fix :-)"
This is just a forum of volunteers, we cannot "fix" anything.
Here is the correct place to request TMW support, to report bugs, etc:

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

답변 (1개)

Matt J
Matt J 2026년 3월 26일
편집: Matt J 2026년 3월 26일

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.

댓글 수: 1

Ben
Ben 2026년 4월 14일 18:23
Yes I do at least - the app is very helpful - I would like it to work. A bunch of people are having this issue now since 2025b. I have two separate projects and they both throw this exact error now.

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

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

릴리스

R2025b

태그

질문:

2026년 3월 25일

편집:

2026년 4월 14일 19:21

Community Treasure Hunt

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

Start Hunting!

Translated by