Guyz.. I need assistant about making GUI in matlab.. I wan to make 2 tables n 1 pushbutton. My prob is i cannot callback the data from the table to the pushbuttons.. These are my callback data for uitable1 n uitable2:
*table = get(hObject,'Data');
handles = guidata(hObject);
handles.table = table;
guidata(hObject, handles);**BOLD TEXT*
And then i put these coding into pushbuttons:
*handles = guidata(hObject);
table = handles.table;
table = cell2mat(table);
cost1 = get(handles.uitable1,'Data');
mwlimits1 = get(handles.uitable2,'Data');
Pdt1 = get(handles.input3_editText,'String');
guidata(hObject, handles);
cost = cell2mat(cost1);
mwlimits = cell2mat(mwlimits1);
Pdt = str2num(Pdt1);**BOLD TEXT*
Can anyone help me pls~~
Best Answer