How to rename field in a struct?
조회 수: 3 (최근 30일)
이전 댓글 표시
Can someone please help me, i am trying to name the fields where there is currently 1,2,3 in the rows on the left.
댓글 수: 0
답변 (1개)
Walter Roberson
2020년 2월 16일
In current releases of MATLAB it is not possible to get numeric field names, not even if you load a file written by third-party software that tries to set the fields that way.
If you have third-party software creating those files, then you can try https://www.mathworks.com/matlabcentral/fileexchange/42274-loadfixnames-loads-a-mat-file-fixing-invalid-names
참고 항목
카테고리
Help Center 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!