Borrar filtros
Borrar filtros

reading a table: column name

24 visualizaciones (últimos 30 días)
alpedhuez
alpedhuez el 11 de Jun. de 2020
Respondida: Suraj Sudheer Menon el 14 de Jun. de 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 comentarios
alpedhuez
alpedhuez el 11 de Jun. de 2020
how?
madhan ravi
madhan ravi el 11 de Jun. de 2020
Answer this question

Iniciar sesión para comentar.

Respuesta aceptada

Suraj Sudheer Menon
Suraj Sudheer Menon el 14 de Jun. de 2020
A column can be read from a table by referring to the the column variable.
data=readtable('filename.csv')
morning=data.morning;

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by