res = unzip(zipname)
res = unzip(zipname, rootdir)
| Parameter | Description |
|---|---|
| zipname | a string: zip archive filename. |
| rootdir | a character vector or string scalar: root path for the files to decompress. |
| Parameter | Description |
|---|---|
| res | a cell array of character vectors containing the names of the files decompressed. |
unzip extracts archived contents. Timestamps and attributes are preserved for each file.
zip([tempdir(), 'test.zip'], [nelsonroot(), '/module_skeleton']);
r = unzip([tempdir(), 'test.zip'], [tempdir(), createGUID()])
| Version | Description |
|---|---|
| 1.0.0 | initial version |