Read .raw file

조회 수: 16 (최근 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 CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by