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.
Citation pour cette source
Jake August (2025). zipRequiredFilesAndProducts (https://fr.mathworks.com/matlabcentral/fileexchange/89624-ziprequiredfilesandproducts), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 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 |
