reading a table: column name
29 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
alpedhuez
am 11 Jun. 2020
Beantwortet: Suraj Sudheer Menon
am 14 Jun. 2020
I created a csv file
morning afternoon
1 0
0 2
I read it using readtable
and then type
morning
then I got
unrecognized function or variable
Please advise.
6 Kommentare
Akzeptierte Antwort
Suraj Sudheer Menon
am 14 Jun. 2020
A column can be read from a table by referring to the the column variable.
data=readtable('filename.csv')
morning=data.morning;
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!