packageFile
Version 1.0.0 (2.56 KB) by
Girmi Schouten
Package a file and its dependencies into a single folder or zip-file. Includes a list of used toolboxes.
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.
Cite As
Girmi Schouten (2025). packageFile (https://www.mathworks.com/matlabcentral/fileexchange/95143-packagefile), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
