gzip
Compress files into GNU zip files
Syntax
gzip(filenames)
gzip(filenames,outputfolder)
entrynames = gzip(___)
Description
gzip(
compresses the contents of the specified files and folders into GNU zip files with the file extensionfilenames
).gz
.gzip
recursively compresses the content in folders.gzip
places each output file to the same folder as the input file.
gzip(
places the resulting GNU zip files intofilenames
,outputfolder
)outputfolder
. Ifoutputfolder
does not exist, MATLAB®creates it.
returns a cell array of character vectors containing the relative path names of all resulting files. You can use this syntax with any of the input argument combinations in the previous syntaxes.entrynames
= gzip(___)
Examples
Input Arguments
Introduced before R2006a
Was this topic helpful?