Get row names of a table...

130 visualizaciones (últimos 30 días)
JFz
JFz el 5 de Oct. de 2016
Comentada: JFz el 5 de Oct. de 2016
How to get the row names from a table which has row names and column names.
  1 comentario
JFz
JFz el 5 de Oct. de 2016
Thanks for any help.

Iniciar sesión para comentar.

Respuesta aceptada

Steven Lord
Steven Lord el 5 de Oct. de 2016
See the table object property RowNames. The RowNames section on that page includes examples of how to set and clear the names; to get the names just use something like
x = yourTableVariableNameGoesHere.Properties.RowNames

Más respuestas (0)

Categorías

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