In MATLAB, I've created a table with a callback function that is called before it deletes, to save all the information in a file:
t=uitable;
set(t,'Data',V1);
set(t,'ColumnEditable',c);
set(t,'DeleteFcn',@closeCallback);
waitfor(t); %wait until table closes
This is the callback function:
function closeCallback(src,eventdata)
%%
%this a callback function
h=gcbo();
A=table2array(h);
h=msgbox('Hi, I work!');
end
I intend on then saving the numeric array so I can use it in my normal program.