Table Question: Calling a Header with a Fullstop in

I have a table (below called 'TABLE') I then have a column which in the colum header has a '.' in and so the script is finding it hard to retrieve that header name.
Is there a way to code it so that MATLAB knows that the header is specifically called 'L.Heel_pz' ?
TABLE{1, 1}( L.Heel_pz)
Unable to resolve the name L.Heel_pz.
Many thanks in advance.

 Respuesta aceptada

TABLE.('L.Heel_pz')

1 comentario

Jake Bowd
Jake Bowd el 16 de Jul. de 2020
I had done a silly mistake, there is a space before the 'L' ...(!!!) so instead of:
TABLE.('L.Heel_pz')
the correct structure is:
TABLE.(' L.Heel_pz')

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Versión

R2020a

Preguntada:

el 16 de Jul. de 2020

Comentada:

el 16 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by