reading a table: column name
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
alpedhuez
il 11 Giu 2020
Risposto: Suraj Sudheer Menon
il 14 Giu 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 Commenti
Risposta accettata
Suraj Sudheer Menon
il 14 Giu 2020
A column can be read from a table by referring to the the column variable.
data=readtable('filename.csv')
morning=data.morning;
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!