Display HeaderLines which were omitted during loading data
8 次查看(过去 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!