How can I add and remove a specific row from a Table in the GUI?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How can I add and remove a specific row from a Table in the GUI?
1 Kommentar
Antworten (1)
KSSV
am 15 Dez. 2016
clc; clear all ;
LastName = {'Smith';'Johnson';'Williams';'Jones';'Brown'};
Age = [38;43;38;40;49];
Height = [71;69;64;67;64];
Weight = [176;163;131;133;119];
BloodPressure = [124 93; 109 77; 125 83; 117 75; 122 80];
T = table(Age,Height,Weight,BloodPressure,...
'RowNames',LastName) ;
K = T ;
%%Say I want to remove the third row
K(3,:) = []
2 Kommentare
David Barry
am 15 Dez. 2016
I assumed from the GUI comment that they were talking about uitable not a table data type.
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!