I have a MATLAB GUI, which has uitable . When i click a pushbutton, it runs the for loop.
Inside the for loop i have used the statememnt set(handles.uitable1,'Data',data) where data is the matrix containing the values which should get updated for each iteration.
However, during execution, the table appears empty unitl the completion of all iterations. Finally it displays only the data of only the last iteration.