Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
why function name added to table column name?
조회 수: 1 (최근 30일)
이전 댓글 표시
I used sortrow to sort the columns of table and it worked but sortrow is added to each variable name of table.
sortedtable=varfun(@sortrows,KsTable,'GroupingVariables',{'k_name'});
The table before using sortrow:
after using sortrow:
any idea how to fix this?
댓글 수: 0
답변 (1개)
Walter Roberson
2019년 10월 27일
I do not see an option to override that. However you can
sortedtable.Properties.VariableNames = KsTable.Properties.VariableNames;
댓글 수: 1
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!