MATLAB: Error in unzip a .gz file

.gzinvalidunzipzip file

I tried to unzip a file named RETSD_MODMD_G13_GEC_2010171_22_gfsTfg_regWfg.gz with following command
unzip('I:\GOES_DATA\G13\RETSD_MODMD_G13_GEC_2010171_22_gfsTfg_regWfg.gz');
but the error is
Error using ==> unzip at 85 Invalid zip file "I:\GOES_DATA\G13\RETSD_MODMD_G13_GEC_2010171_22_gfsTfg_regWfg.gz".
Error in ==> GOES_UNZIP at 5 file=unzip('I:\GOES_DATA\G13\RETSD_MODMD_G13_GEC_2010171_22_gfsTfg_regWfg.gz');
Please help me to solve the problem

Best Answer

  • use gunzip instead