MATLAB: Ur video on adding a table to GUI and using the data

tabletable data to workspace

i wish to use the data which is being displayed as the output. i can only see the data changing on screen, but if i want access of that data, can u tell me in which variable is it stored or how do i assign the data values to a variable which can be used in the workspace

Best Answer

If you have a uitable() with handle H, then to get the data from the table, you would use
TheData = get(H,'Data');
The output of this, TheData, would be a cell array containing the individual entries for the array. For example, TheData{3,5} would be the entry for the third row, fifth column.