image thumbnail


version (2.84 KB) by Daniel Ennis
This function creates a zip file consisting of a core m-file and the functions it depends upon.


Updated 31 Mar 2016

View License

% 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 (2021). package (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: M-file dependency consolidator

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!