readtable - renaming variables after creating

5 visualizaciones (últimos 30 días)
jlt199
jlt199 el 25 de Ag. de 2016
Respondida: Star Strider el 25 de Ag. de 2016
Hi,
I'm using readtable to read in and create a table of data in a text file. The way the text file is written there is no row containing the header names. Hence readtable names the columns Var1, Var2, ...
Is there a way of renaming these names to something more descriptive after the table has been formed?
Thank you

Respuesta aceptada

Star Strider
Star Strider el 25 de Ag. de 2016
See the documentation for Change a Variable Name.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings 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