Extract contents of zip file
unzip(
extracts the archived
contents of zipfilename
)zipfilename
into the current folder, preserving the
attributes and timestamps of each file. unzip
can extract files
from your local system or from an Internet URL.
If a file exists with the same name and the file is not read-only, MATLAB® overwrites it. Otherwise, MATLAB issues a warning. On Microsoft® Windows® platforms, the hidden, system, and archive attributes are not set.
unzip(
extracts zipfilename
,outputfolder
)zipfilename
into outputfolder
. If
outputfolder
does not exist, MATLAB creates it.
returns a cell array of character vectors containing the names of the extracted
files.filenames
= unzip(___)
To extract a zip file that contains non-7-bit ASCII characters, extract the file on a machine that has the appropriate language/encoding settings.