Programming Previous page   Next Page

Creating and Uncompressing Zip Archives

Using the zip and unzip functions, you can compress and uncompress files and directories. The zip function compresses files or directories into a zip archive. The unzip function uncompresses zip archives.

Example -- Using the zip Function

Again building on the example from previous sections, the following code creates a zip archive of the retrieved Web page:


Previous page  Downloading Web Content and Files Sending E-Mail Next page

© 1994-2005 The MathWorks, Inc.