Display HeaderLines which were omitted during loading data
조회 수: 9 (최근 30일)
이전 댓글 표시
Hey there,
I have 2 questions connected with HeaderLines
1) How to display HeaderLines, which were omitted during loading data?
2) There is opportunity to load data with HeaderLines?
As regards the 2nd question, I am sure that I saw such kind of solution (HeaderLines was marked by gray) but now I just cannot find it.
댓글 수: 2
Cris LaPierre
2018년 12월 26일
Sure, but how are your reading in your data currently? What is your data file format?
채택된 답변
Walter Roberson
2018년 12월 26일
readtable and textscan do not store the headerlines. You would need to use other code to read the header lines. The code to use would depend on how the header lines were structured .
Header lines might be shown in gray in previews in importdata .
댓글 수: 2
Walter Roberson
2018년 12월 27일
편집: Walter Roberson
2018년 12월 27일
You can examine the colheaders field in what is returned by importdata .
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!