Read .raw file

7 ビュー (過去 30 日間)
Karoline
Karoline 2024 年 2 月 8 日
コメント済み: Star Strider 2024 年 2 月 8 日
Hey,
I have .raw file formated data from National Coastal Monitoring - Bideford Bay which I have problems to read in matlab. The format on the data file is Ascii/text, decimal. How do I read this files?
I tried to use fread('filename'), but it dose not seems to work. I get weird values.

採用された回答

Star Strider
Star Strider 2024 年 2 月 8 日
If the file is less than 5 MB in size, use the zip function to create a .zip file for it and then upload the .zip file here.
Without having the file itself to work with, one option would be to use readtable with it:
Waves = readtable('YourFile.raw', 'FileType','text')
and se what the result is.
.
  2 件のコメント
Karoline
Karoline 2024 年 2 月 8 日
Thank you so much! It works!!
Star Strider
Star Strider 2024 年 2 月 8 日
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCoastal Engineering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by