Table.Properties.VariableNames will add ... to long Variable Names
Mostrar comentarios más antiguos
I want to read out the Variable names of a table i imported from excel with readtable.
Table.Properties.VariableNames will add 3 dots "..." to long Variable Names, thereby shortening the actual name in the cell array, and making them useless to index into said table column.
This might have to do with the way Tables are displayed when viewing them in the workspace.

Gave something along the lines of:
1×13 cell array
Columns 1 through 10
{'components_pos_'} {'name'} {'thickness__s__i…'} {'thermal_conduc_…'} {'heat_capac_c_in…'} {'density_in_kg_m_'} {'V_ignoreThisOne'} {'solar_absorp'} {'ir_emissivity'} {'g_value'}
Columns 11 through 13
{'shading_g_total'} {'shading_max_irr'} {'a_conv'}
Now for me personally i just need to fix this once or twice and thats no Problem, but it feels unintended. Is it a Bug?
There is also Table.Properties.VariableDESCRIPTIONs which puts out the same cell Array, now for Description it makes sense that it might put in the dots ...
Respuesta aceptada
Más respuestas (1)
Fangjun Jiang
el 28 de Feb. de 2025
Editada: Fangjun Jiang
el 28 de Feb. de 2025
1 voto
I think the OP was referring to the three dots in the image in the header row.
It is a display, @Alexander Szambor. If you drag and increase the width of the column in the matrix grid in the workspace view, the full variable name will be shown.
1 comentario
Alexander Szambor
el 1 de Mzo. de 2025
Categorías
Más información sobre Tables en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!