Import columns from a CSV by header name
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Andrew
le 2 Fév 2016
Réponse apportée : random09983492
le 2 Fév 2016
I want to create a script to import a csv file, where the header is 3 rows, but the header does not start until the 8th row. I want to be able to search the csv file and pull out only the headers of interest. I typically have just edited the csv before import, but would rather not have that extra step.
0 commentaires
Réponse acceptée
random09983492
le 2 Fév 2016
The csvread function is capable of doing what you want to do.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets 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!