File Exchange

image thumbnail

exporttozip

version 1.3 (2.76 KB) by

This is an update to exportToZip by Malcom Wood. It uses absolute paths OR relative paths.

0 Downloads

Updated

View License

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.

Comments and Ratings (2)

Nice function, thanks!

It appears that:

if nargin < 2
    abspath = 0;
end

is missing, so the 1-argument call returns an error.

Updates

1.3

2nd update to include recommendation for a nargin<2 test by Ioannis Filippidis.

MATLAB Release
MATLAB 8.0 (R2012b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video