How to open a .txt file with header information
조회 수: 50 (최근 30일)
이전 댓글 표시
I have a large data file, temperature data to be exact, the file output from the sensor is .txt. The first 12 rows are header rows, which I'd like to ignore completely and just focus on the data that is left.
Any help would be greatly appreciated.
댓글 수: 0
답변 (2개)
Fangjun Jiang
2018년 5월 8일
편집: Fangjun Jiang
2018년 5월 8일
importdata(FILENAME, DELIM, NHEADERLINES) loads data from ASCII file FILENAME, reading numeric data starting from line NHEADERLINES+1.
댓글 수: 4
Fangjun Jiang
2018년 5월 8일
all the numerical data are in one line. There is no carriage return. Please attach a text file.
참고 항목
카테고리
Help Center 및 File Exchange에서 Text Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!