2 0 66 155
3 255 0 0
The Table UI component provides a similar presentation. Selecting an item in the RGB
column selects all the subcolumns in that row. The values in the subcolumns are not
editable in the running app, even when ColumnEditable property of the Table UI
component is true.
f = uifigure;
uit = uitable(f,'Data',tdata);
Missing Data Values
Missing values display as indicators according to the data type:
- Missing strings display as
. - Undefined categorical values display as
. - Invalid or undefined numbers or duration values display as NaN.
- Invalid or undefined datetime values display as NaT.
If the ColumnEditable property of the Table UI component is true, then the user can
correct the values in the running app.
f = uifigure;
sz = categorical([1; 3; 4; 2],1:3,{'Large','Medium','Small'});
num = [NaN; 10; 12; 15];
tdata = table(sz,num,'VariableNames',{'Size','Number'});
uit = uitable(f,'Data',tdata,'ColumnEditable',true);
Table Array Data Types in App Designer Apps