packageFile Package a file and its depencies into a single folder.
[packageFolder] = packageFile(file) creates a folder named "<file>-packaged" which includes the file and its dependencies. Dependencies are placed in a private subfolder so that they don't overlap with other files in the workspace. The package also includes a text file which list all required toolboxes to execute the file.
packageFile(___, "IncludeMat", bool) if the IncludeMat flag is true, any .mat files loaded in the given file will also be included in the package.
packageFile(___, "Zip", bool) if the Zip flag is true, a zip file of the package content will be created instead of a folder.
packageFile(___, "Verbose", bool) if the Verbose flag is true, the dependencies and required toolboxes will be printed.
引用格式
Girmi Schouten (2025). packageFile (https://www.mathworks.com/matlabcentral/fileexchange/95143-packagefile), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2020b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |