Changing column name for a dataset
显示 更早的评论
Hi If i have column titles as 'shop floor Q1 Q2 Q3 Q4' i want to just change floor as floorNum. how do i do that
采纳的回答
更多回答(1 个)
Assuming you're talking about a table (which I'll call T):
T.Properties.VariableNames{2} = 'floorNum';
For more information:
doc 'Table properties'
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!