I send a data (2 numeric columns, changeable number rows) to a uitable and I wish that the 3rd column will be logical so I can select data from it.
I already declare the 3rd column in GUIDE uitable to be editable but I get this error:
"Warning: Table data is not editable at this location."
I tried many things but still the error reoccurs. How can it be solved?
[mcolumn,ncolumn] = size(myInfo);fColumn = logical(repmat(flase,[mcolumn,1])) Ctemp = [myInfo, fColumn]cellMyInfo = num2cell(myInfo); columnform = {'numeric','numeric','logical'}; set(handles.outputTable,'data',cellMyInfo);set(handles.outputTable, 'ColumnFormat', columnform);set(handles.outputTable, 'ColumnEditable', [false, false, true]);
Best Answer