Change variable names in a table
조회 수: 65 (최근 30일)
이전 댓글 표시
Hi all,
I would like to change all variable names within a table, to attached file, a cell array.
This is what i use now;
rf1.Properties.VariableNames = vars1
채택된 답변
Stephen23
2018년 11월 22일
편집: Stephen23
2018년 11월 22일
You can use a cell array of names, like this:
rfi.Properties.VariableNames = {'name1','name2',...}
댓글 수: 5
Steven Lord
2020년 6월 29일
The ability to have spaces in table variable names was introduced in release R2019b as stated in the Release Notes.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!