Change a variable name in a dataset array
Mostra commenti meno recenti
I would like to change the name of one of the variable names in a dataset array. I can do it like this
temp=get(DS);
vn=temp.VarNames;
vn{3}='new name';
set(DS,'VarNames',vn);
Is there an easier way to do this?
Risposta accettata
Più risposte (1)
dk
il 14 Ott 2011
0 voti
Categorie
Scopri di più su Managing Data in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!