zipRequiredFilesAnd​Products

Version 2.0.0 (7.94 KB) by Jake August
Grab all required M and P files associated with your MATLAB script and contain into a ZIP archive.
12 Downloads
Updated 31 Mar 2021

View License

Collect all required M and P files associated with your code into a ZIP archive. I use this most often to:
1. Share code that demonstrate my functions or procedures,
2. Archive a function in a known good state, or
3. Include my source when deploying a product.
It is built around matlab.codetools.requiredFilesAndProducts and uses Java. I recently updated it to use MATLAB 2019b's argument blocks, which helped clean up the otherwise cumbersome program logic.

Cite As

Jake August (2024). zipRequiredFilesAndProducts (https://www.mathworks.com/matlabcentral/fileexchange/89624-ziprequiredfilesandproducts), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with R2019b to R2021a
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.0.0

The updated ZipRequiredFilesAndProducts is a static method of myCodeTools, which utilizes myFileTools to directly create ZIP archives without copying or writing out files to temporary directories.

1.0.0