Display HeaderLines which were omitted during loading data
5 ビュー (過去 30 日間)
古いコメントを表示
Elzbieta Trynkiewicz
2018 年 12 月 26 日
編集済み: Walter Roberson
2018 年 12 月 27 日
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!