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일

0 개 추천

readtable() should do it. Take a look at 'HeaderLines' if needed.

카테고리

도움말 센터File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

태그

질문:

2016년 9월 7일

편집:

2016년 9월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by