Reading .gz file

조회 수: 27 (최근 30일)
Meghan Rochford
Meghan Rochford 2020년 11월 11일
댓글: Meghan Rochford 2020년 11월 25일
Hello
I have a .gz file that contains bathymetry data (hopefully!). I read online that it should be unzipped first so I tried this in 7zip. However, once I did that, the file no longer has an extension.
Is it possible to open and view this file in Matlab? Ideally I want a .txt file out of it so I can interrogate the data.
Thanks in advance for your help. I've can't attached the file as it exceeds 5MB.
  댓글 수: 10
Walter Roberson
Walter Roberson 2020년 11월 17일
That manual just talks about mechanics such as using floppy diskettes to save the data, and does not talk about file formats. It is not relevant as the data has already been saved online and the question is how to import the data into MATLAB.
Meghan Rochford
Meghan Rochford 2020년 11월 17일
Thanks Walter, yes the data has already been downloaded and saved on our system. It is about being able to open that data in Matlab that is my issue and question.

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

답변 (1개)

Rohit Pappu
Rohit Pappu 2020년 11월 25일
For unzipping a .gz file, gunzip function can be used
  댓글 수: 2
Walter Roberson
Walter Roberson 2020년 11월 25일
편집: Walter Roberson 2020년 11월 25일
That is not the question. The user already unzipped the file, getting out a file with no extension, and the user wants to read the file.
The manufacturer is Olex.no but I cannot seem to find any documentation about the file format. I did find another commercial vendor which can read the files, but that does not really help.
Meghan Rochford
Meghan Rochford 2020년 11월 25일
It seems that I probably won't get the answer I need so we've decided to just not use this data/method of data collection going forward. Thanks anyway :)

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

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by