package
% This function makes a zip file archive from an m-file and its
% dependencies. The zip-file is stored in the same path as the
% m-file with a *.zip extension. The keyword is used to identify and
% package ONLY m-files that are on paths containing the keyword. This
% prevents the archiving of Mathwork functions which the end user is likely
% to have or need a license for. The function is recursive and therefore
% packages functions of functions of functions etc.
Cite As
Daniel Ennis (2026). package (https://se.mathworks.com/matlabcentral/fileexchange/6148-package), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: M-file dependency consolidator
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Update BSD License.
|
