Change variable names in a table
67 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jesse
el 22 de Nov. de 2018
Comentada: Stephen23
el 27 de Jul. de 2023
Hi all,
I would like to change all variable names within a table, to attached file, a cell array.
This is what i use now;
rf1.Properties.VariableNames = vars1
Respuesta aceptada
Stephen23
el 22 de Nov. de 2018
Editada: Stephen23
el 22 de Nov. de 2018
You can use a cell array of names, like this:
rfi.Properties.VariableNames = {'name1','name2',...}
5 comentarios
Sampath Rachumallu
el 29 de Jun. de 2020
Unable to add spaces in Column names of a table using above.
Steven Lord
el 29 de Jun. de 2020
The ability to have spaces in table variable names was introduced in release R2019b as stated in the Release Notes.
Más respuestas (0)
Ver también
Categorías
Más información sobre Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!