MATLAB: How to show symbolic object in uitable

symbolic object

How can I show symbolic object in uitable?
syms i2,i3 'real';
a=[ 0 0 -i3; 1 2 3];
a(2,2)=-i2;
set(handles.uitable2, 'Data',a);

Best Answer

You cannot show symbolic objects in a uitable. In uitable, you can only show numbers and text. You can find the text representation of a symbolic object by using char() on the object. But remember, that will return text, not a symbolic object, so you will not be able to use the text as a symbolic object.