You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Malcolm Wood's exportToZip is an excellent function that zips all the functions that your specified function depends on, into one zip file.
It is a very nice archival tool and useful for distributing your software to colleagues.
My mfiles are spread across network drives. The original exportToZip used relative paths and a common rootpath. This does not work for my type of network setup. So I edited the function to use either relative or absolute paths.
Cite As
Mark Morehead (2026). exporttozip (https://www.mathworks.com/matlabcentral/fileexchange/30724-exporttozip), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: mypath.m, exportToZip: Identifies the dependencies of an M-file and creates a ZIP file
General Information
- Version 1.3.0.0 (2.76 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
