Export Dependencies - command line function?
13 次查看(过去 30 天)
显示 更早的评论
One can create a dependencie analysis and export all the external files and all necessary functions in one neat little zip as descriped by: model-dependencies-help There is a command line function for creating the dependency analysis.
Question: But is there also a function for creating the zip file from within a matlab script/function?
0 个评论
回答(2 个)
Daniel Frisch
2020-11-13
This function finds all dependency code files and copies them into a single folder (that you can also zip afterwards):
copy_dependencies('my_script.m', 'target_folder')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dependency Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!