package

This function creates a zip file consisting of a core m-file and the functions it depends upon.

You are now following this Submission

% 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://nl.mathworks.com/matlabcentral/fileexchange/6148-package), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: M-file dependency consolidator

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Update BSD License.
Bug fix. Feature addition.