Reading .gz file

104 views (last 30 days)
Meghan Rochford
Meghan Rochford on 11 Nov 2020
Commented: Meghan Rochford on 25 Nov 2020
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 Comments
Meghan Rochford
Meghan Rochford on 17 Nov 2020
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.

Sign in to comment.

Answers (1)

Rohit Pappu
Rohit Pappu on 25 Nov 2020
For unzipping a .gz file, gunzip function can be used
  2 Comments
Meghan Rochford
Meghan Rochford on 25 Nov 2020
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 :)

Sign in to comment.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by