MATLAB: GUI Uitable: set column data to variable

guiuitable

Hey, all, thanks for reading this,
I set up a GUI uitable with some data, and I would like to use that data in another callback function. I was wondering, how do I select data on a column by column basis in other callback functions and assign it locally to variables?
Thanks for your advice

Best Answer

% i am not sur that i have understood
data=get(handles.uitableName,'Data')
%data is a cell array, then extract any column you want
c1=data(:,1) % the first column