MATLAB: Get the table from uitable into a matrix A
gui
tableData = get(handles.uitable1, 'Data')
tableData =
'99' [41]
'77' [13]
can i convert it to a normal matrix so i can do a function on it
Best Answer
Youruitable returns a cell array because you've defined the first column as char. If youruitable is supposed to contain numbers only then the easiest way to fix your problem, is to change theColumnFormat of that first column to'numeric'. If you show us the line(s) where you create that uitable we can give you the exact syntax.
Alternatively, it can be fixed after the fact, but it'll be slower and kind of pointless:
Best Answer