MATLAB: Doubt on uitable on inserting particular number of rows and columns

guiguideMATLABmatlab guiuitable

Hi, I am trying to create this ui table in matla without using guide. Can anyone please help me with this

Best Answer

Hi Lokesh,
I have written a small code for your reference. You can proceed with this code
f = figure;
uit = uitable(f)
d = {1040.0,-245.34, 930.5;1029.2,929.1,65;-15.0,810.6,35};
uit.Data = d;
uit.ColumnName = {'X(mm)','Y(mm)','Z(mm)'}
uit.RowName = {'Mount1','Mount2','Mount3'}
For more information, you may refer to documentation of uitable .