How to rename a cell into Table
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I have a cell named G_Status. It is a 6x2 cell.
How do i rename the first Column as G_Status_1 and the second Column as G_Status_2 ?
댓글 수: 0
답변 (1개)
KSSV
2019년 11월 18일
Multiple ways. One way would be, convert the cell tinto table T using cell2table and rename the columns you want by
T.Properties.VariableNames = {"your names here"} ;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!