MATLAB Function Reference    
unzip

Extract contents of zip file

Syntax

Description

unzip('zipfilename') extracts the contents of (unzips) the zip file named zipfilename into the current directory, where zipfilename was created using ZIP or any standard zip application such as PKZIP. The path for zipfilename is relative to the current directory.

unzip('zipfilename','directory') extracts the contents of the zip file named zipfilename into the specified directory. The paths for zipfilename and directory are relative to the current directory.

Examples

Extract the contents of d:/mymfiles/viewlet.zip, putting the resulting files in the current directory.

Unzip the zip file mymfiles in the current directory, putting the resulting files in the directory archives, which is at the same level as the current directory.

See Also

zip


  unwrap upper