I need to figure out what toolboxes are required for a particular script on Matlab 2013b. I found the matlab.codetools.requiredFilesAndProducts function, but that's apparently newer than 2013b. I searched further and found 'depfun', but when I ran trace = depfun('myScript.m'), I got this error:
Error using newdepfun
The specified superclass 'mlreportgen.dom.DocumentPart' contains a parse error or cannot be found on MATLAB's
search path, possibly shadowed by another file with the same name.
Error in depfun/analyze_trace_all (line 485)
[arglist{:}] = newdepfun(trace_list,ndf_options{:} );
Error in depfun (line 312)
analyze_trace_all; % calls newdepfun
What else can I try?

 채택된 답변

Image Analyst
Image Analyst 2015년 4월 15일

0 개 추천

Try running a dependency Report from MATLAB. I don't remember how to do it in the old MATLAB interface like you have. Right now there is a little down arrow on the Current Folder panel in the upper right corner and you can run the report from there if you click on it. Se image I posted here http://www.mathworks.com/matlabcentral/answers/194585#answer_172884
.
You can try fdep() - it's the most comprehensive tool of it's kind for MATLAB.

댓글 수: 1

Ben
Ben 2015년 4월 15일
이동: Stefanie Schwarz 2024년 8월 14일
Thanks. 2013b does indeed have that menu, but fdep did what I really needed - find the toolboxes.

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

추가 답변 (0개)

카테고리

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

질문:

Ben
2015년 4월 14일

이동:

2024년 8월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by