I am doing a uitable function in a GUI and one of the column consist of popupmenu. In the popupmenu, if the user selects A, the strcmp will reflect it as 1, otherwise it's 0.
This is my function code.
function uitable2_CellEditCallback(hObject, eventdata, handles)uitable2 = get(handles.uitable2,'Data')strcmp(uitable2(1,1),'A')
However, I am getting this error:
Not enough input arguments.
Error in work_file>uitable2_CellEditCallback (line 7067)
uitable2 = get(handles.uitable2,'Data')
Error while evaluating Table CellEditCallback
Anyone here able to advise? Thanking you in advance.
Best Answer