MATLAB: How uitable variable size

uitable

SALUT how uitable take nombre r of row and c of column where r and c is entred by user in edittext thanc you

Best Answer

r = str2double( get(handles.editbox1, 'String') );
c = str2double( get(handles.editbox2, 'String') );
data = cell(r, c);
set(handles.uitable1, 'Data', data);
Related Question