How do I obtain a dependency report for all MATLAB files within a directory?
Show older comments
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.
Accepted Answer
More Answers (1)
Daniel Frisch
on 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')
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!