![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/176078/image.png)
Find which toolboxes are required
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ben
le 14 Avr 2015
Déplacé(e) : Stefanie Schwarz
le 14 Août 2024
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?
0 commentaires
Réponse acceptée
Image Analyst
le 15 Avr 2015
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/176078/image.png)
.
You can try fdep() - it's the most comprehensive tool of it's kind for MATLAB.
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!