Change variable names in a table
71 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jesse
am 22 Nov. 2018
Kommentiert: Stephen23
am 27 Jul. 2023
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
1 Kommentar
Akzeptierte Antwort
Stephen23
am 22 Nov. 2018
Bearbeitet: Stephen23
am 22 Nov. 2018
You can use a cell array of names, like this:
rfi.Properties.VariableNames = {'name1','name2',...}
5 Kommentare
Steven Lord
am 29 Jun. 2020
The ability to have spaces in table variable names was introduced in release R2019b as stated in the Release Notes.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!