FUNCTION REFERENCE
gunzip
Uncompress GNU zip files.
Uncompress GNU zip files.
Syntax
gunzip(files)Syntax
filenames = gunzip(files, outputfolder)Removes the last extension from each input name and writes next to the archive or into outputfolder: odd.bin becomes odd and t.tgz becomes t.
Example
d=tempname(pwd); mkdir(d); f=fullfile(d,'a.txt'); fid=fopen(f,'w'); fprintf(fid,'hi'); fclose(fid); g=gzip(f); delete(f); gunzip(g{1}); t=fileread(f); rmdir(d,'s'); t % hiDifferences from MATLAB: Uncompressed output is limited to 256 MiB per file; URLs are not supported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.