Project Release ZIP File from Dependencies

Versión (3,61 KB) por Jacob D
This function will build a zip file containing only necessary files/folders for release of a project
43 descargas
Actualizado 9 ago 2017

Ver licencia

This function will build a "release" zip file containing only files and folders which are dependencies of a particular m-file and are within a project working directory.
The function first finds all dependencies for a given m-file and removes those which aren't under the given working directory. After this, all the leftover project dependencies and their folder structure are copied over to a temporary directory. The temporary directory is then zipped to the working directory with the given zip file name and the temporary directory is deleted.
Version 1.1
Now allows for optional condition 'RuntimeDependencies' which finds the dependencies using a profiled runtime environment allowing for anonymous functions, dynamic function handles and all their children to be included as dependencies.

Citar como

Jacob D (2024). Project Release ZIP File from Dependencies (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2017a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Más información sobre Entering Commands en Help Center y MATLAB Answers.

Inspirado por: M-file dependency consolidator

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión

Added RuntimeDependencies optional input argument