MATLAB: Hi good Evening, I want to ask about UI table.

#uitableshowstringuitable

I want show string using UI table, at my program UI table will record all the user activity once their click any action like push button or selected menu button this UI table will show their selected similarly like history, example like Push Button 1 selected, Gender Male. I want record all the activity using UI table show in string but I don't know how to set the code, UI table will show in value. Please help me solve the problem how to show string or character using UI table.
Tq.

Best Answer

get(handles.table1, 'Data')
data{end+1} = 'New Bit Of history you want to add';
set(handles.table1, 'Data', data);