Gunzip doesn't recognize a .mat.gz file as a GZIP

조회 수: 5 (최근 30일)
Ambra
Ambra 2014년 9월 4일
편집: K E 2016년 7월 1일
Hi! I've received a package of zipped datas. Since it was impossible to access them I've used 7zip to access the subfolders. 7zip couldn't unzip the gzipped single files, so I've opened MatLab and tried on every gzip file to use gunzip:
gunzip 15*eeg1.mat.gz
gunzip 20*eeg2.mat.gz
gunzip 20*eeg3.mat.gz
gunzip 20*eeg4.mat.gz
gunzip 20*eeg5.mat.gz
Nothing special... but with some files in some folders it has worked and instead with other folders it returned to me these errors:
Error using gunzip>gunzipwrite (line 184)
File "Rat20-1.zip" is not in GZIP format.
Error in gunzip>gunzipEntries (line 122)
names{k} = gunzipwrite(entries(k).file, outputDir, baseName, streamCopier);
Error in gunzip (line 64)
names = gunzipEntries(entries, outputDir);
But the files still have the extention .mat.gz... What is that? What can I do?
  댓글 수: 1
K E
K E 2016년 7월 1일
편집: K E 2016년 7월 1일
I get the "not in GZIP format" error on one machine, but not on another! Would love a solution.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 File Compression에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by