How to rename a cell into Table

2 vues (au cours des 30 derniers jours)
Yuan Jun Lim
Yuan Jun Lim le 18 Nov 2019
Réponse apportée : KSSV le 18 Nov 2019
Hi, I have a cell named G_Status. It is a 6x2 cell.
How do i rename the first Column as G_Status_1 and the second Column as G_Status_2 ?

Réponses (1)

KSSV
KSSV le 18 Nov 2019
Multiple ways. One way would be, convert the cell tinto table T using cell2table and rename the columns you want by
T.Properties.VariableNames = {"your names here"} ;

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by