pretty and uitable gui

7 views (last 30 days)
john
john on 19 Feb 2013
result of code
syms a b c
pretty[a^2;b/c]
is possible to insert into uitable- gui?
And also it is possible to put it into uitable into separately lines?
thanks

Accepted Answer

Walter Roberson
Walter Roberson on 19 Feb 2013
T1 = [a^2;b/c];
T2 = evalc('disp(T1)');
Now T2 will be a char() array.
When you put it into separate lines in the uitable, do you want the raised 2 to be a separate line from the "a" ? Or do you want each of the expressions to become character arrays that you would insert one complete expression per cell ?
  7 Comments
Walter Roberson
Walter Roberson on 20 Feb 2013
I do not have the Mathworks MuPAD-based symbolic toolbox, so I am testing with the Maple-based symbolic toolbox; it is working for me in that.
john
john on 20 Feb 2013
Maybe that is different, but thanks for help

Sign in to comment.

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!