unzip
Decompress zip file.
📝Syntax
res = unzip(zipname)
res = unzip(zipname, rootdir)
📥Input Arguments
Parameter Description
zipname a string: zip archive filename.
rootdir a character vector or string scalar: root path for the files to decompress.
📤Output Arguments
Parameter Description
res a cell array of character vectors containing the names of the files decompressed.
📄Description

unzip extracts archived contents. Timestamps and attributes are preserved for each file.

💡Examples
zip([tempdir(), 'test.zip'], [nelsonroot(), '/module_skeleton']);
r = unzip([tempdir(), 'test.zip'], [tempdir(), createGUID()])
🔗See Also
zip
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub