Compress files into GNU zip files
filenames = gzip(...)
gzip(files) creates GNU
zip files from the list of files specified in
gzip all their contents.
Each output gzipped file is written to the same directory as the input
file and with the file extension
files is a character vector or cell array
of character vectors containing a list of files or directories to
Individual files that are on the MATLAB® path can be specified
as partial path names. Otherwise, an individual file can be specified
relative to the current directory or with an absolute path.
must be specified relative to the current folder or with absolute
paths. On UNIX® systems, folders can also start with
which expands to the current user's home folder or the specified user's
home folder, respectively. The wildcard character
be used when specifying files or folders, except when relying on the MATLAB path
to resolve a file name or partial path name.
the gzipped files into the directory
outputdir does not exist, MATLAB creates
filenames = gzip(...) gzips
the files and returns the relative path names of all gzipped files
in the current directory and store the results in the directory