How do I obtain a dependency report for all MATLAB files within a directory?
Mostra commenti meno recenti
I have several MATLAB files within a directory and I want to obtain a dependency report for all the files. This will help me understand the dependency of a file on other files.
Risposta accettata
Più risposte (1)
Daniel Frisch
il 13 Nov 2020
This function also uses the Matlab dependency report internally and then copies all the files into a single folder, which may be convenient if you want to share or archive the actual, complete code:
>> copy_dependencies('my_script.m', 'target_folder')
Categorie
Scopri di più su File Operations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!