CHKZIP check whether file is a compressed archive
chkzip checks whether the passed file has one of the following
extensions: gz, zip, tar, tgz, tar.gz. If it does, chkzip
attempts to unpack the archive into a temporary location,
which is platform-dependent.
[result, tmpFile] = chkzip(fileName)
fileName: file to be checked
result: number of files unpacked from compressed file,
or 0 if file extension was not recognized
tmpFile: full path to first extracted file if
unpacking was performed, otherwise returns
See also: GZIP, ZIP, TAR
Andrew Davis (2020). CHKZIP: check whether a file is a compressed archive (https://www.mathworks.com/matlabcentral/fileexchange/36193-chkzip-check-whether-a-file-is-a-compressed-archive), MATLAB Central File Exchange. Retrieved .