MATLAB: How to copy all the values in a UITABLE into Excel

MATLAB

I have a table in my GUI. When I select and copy all the values in the table using Ctrl+a, Ctrl+c and then paste the values into Excel, there are some blank values in Excel that were not blank in the original table.

Best Answer

In order to show a table with a large data set quickly, only a sub-matrix of the data are loaded in the table at creation time. The rest of the data is loaded on demand. The blank values in the table occur because not all of the data has been loaded from the disk.
To copy the entire table into Excel, hit Ctrl-c twice or copy the values after scrolling down the table.