zipRequiredFilesAndProducts
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
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.