Display HeaderLines which were omitted during loading data
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Elzbieta Trynkiewicz
le 26 Déc 2018
Modifié(e) : Walter Roberson
le 27 Déc 2018
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 commentaires
Cris LaPierre
le 26 Déc 2018
Sure, but how are your reading in your data currently? What is your data file format?
Réponse acceptée
Walter Roberson
le 26 Déc 2018
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 commentaires
Walter Roberson
le 27 Déc 2018
Modifié(e) : Walter Roberson
le 27 Déc 2018
You can examine the colheaders field in what is returned by importdata .
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!