Change variable names in a table
47 次查看(过去 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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!