Table Question: Calling a Header with a Fullstop in

조회 수: 1 (최근 30일)
Jake Bowd
Jake Bowd 2020년 7월 16일
댓글: Jake Bowd 2020년 7월 16일
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.

채택된 답변

Walter Roberson
Walter Roberson 2020년 7월 16일
TABLE.('L.Heel_pz')
  댓글 수: 1
Jake Bowd
Jake Bowd 2020년 7월 16일
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')

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by