Reading csv files starting from a different row
Ältere Kommentare anzeigen
I have this csv file which I would like to import into Matlab. The "readtable" function allows me to import the csv into matlab easily into a table format. It automatically makes the first row the column names and assigns the cell A1 "Var1" since it is empty.
However, what I would like it to do is to read assign the column names according to the 3rd row since that contains the proper headers.
Is it always possible to locate the row containing " time(s) " and make that particular the header when using the readtable function?
Or is there an alternative method available that is accomplish the tasks mentioned above?
edit: attached the csv file

2 Kommentare
KALYAN ACHARJYA
am 24 Feb. 2021
Bearbeitet: KALYAN ACHARJYA
am 24 Feb. 2021
Please attach the data file
See detectImportOptions
Hariharan MK
am 24 Feb. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!