MATLAB: How do you place values in the cells of a empty table on a GUI

retagtables

I made GUI with a calculate button and a table; I want the results from the calculations to appear on the table. I would gladly appreciate and help, advice or link referral. thanks in advance

Best Answer

set() the 'data' property of the uitable to be a cell array containing the results.
There is no way at the MATLAB level to update only selected cells (there is if you go to the Java level), so you may need to get() the 'data' property in order to determine the current contents before you update it.