필터 지우기
필터 지우기

*.dat file reader

조회 수: 4 (최근 30일)
William Maudru
William Maudru 2016년 9월 7일
편집: per isakson 2016년 9월 12일
Hello everyone,
I searched in the help documentation but I didn't find. Is there a function already exixsting in MATLAB in order to open and read a *.DAT file as for example the xlsread ? The *:dat file should contain a tables with the 2 first rows as names and units, the rest is some data.
Thank you for your help
  댓글 수: 1
per isakson
per isakson 2016년 9월 12일
편집: per isakson 2016년 9월 12일
See Data Import and Export. I would have used textscan, but there are many alternatives. The .DAT extension is not important as long as it's a text file.

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

답변 (1개)

George
George 2016년 9월 7일
readtable() should do it. Take a look at 'HeaderLines' if needed.
  댓글 수: 1
William Maudru
William Maudru 2016년 9월 12일
Thank you very much I will try it

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

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by