Hello everyone,
i solved it.
and here is the solution:
% write in table_CellSelectionCallback
function table__CellSelectionCallback(hObject, eventdata, handles)
row = eventdata.Indices(1);
col = eventdata.Indices(2);
assignin('base','row',row) % to get row variable in workspace
assignin('base','col',col) % to get col variable in Workspace
guidata(hObject,handles);