Is it possible to interpret text in a uitable and can I set the margin position?
Ältere Kommentare anzeigen
With Matlab 2012b table I was able to do that. Since I upgraded to 2015b all of my routines which use table don't work anymore.
Antworten (1)
Yuebin Zhou
am 18 Jan. 2016
0 Stimmen
Please provide with your code and any error message you have got.
5 Kommentare
Simon
am 19 Jan. 2016
Walter Roberson
am 19 Jan. 2016
uitable accept HTML provided that the first part of the string is '<HTML>' . uitable do not support tex or latex though.
Yuebin Zhou
am 19 Jan. 2016
Bearbeitet: Walter Roberson
am 21 Jan. 2016
As Walter said, uitable does not have a Tex/LaTex Interpreter, so it could only take HTML string.
Using HTML, you could insert unicode characters, thought it does not have the capability of showing more complex text.
%I put in "& #x03B5;"(remove the space between & and #) between HTML tags
t=uitable('RowName','<html>ε</html>')
Walter Roberson
am 19 Jan. 2016
If I recall correctly, uitable supports some of the named HTML entities, but not numbered entities. Or perhaps it was not entities numbered with hex.
Walter Roberson
am 21 Jan. 2016
I fixed the presentation of your post, Yuebin Zhou . The Answers forum itself interprets HTML entities even in formatted text, so I changed your & to & in your source so it would show up properly as &
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!