How do i display a table?
Show older comments

How can i display this table to the user?
Answers (1)
Walter Roberson
on 15 Feb 2021
Use a uifigure() that contains a uitable() that you set the 'Data' to the table() object. In this case you can use the characters ² and ³ and ã and ú in the text.
Or, use a figure() that contains a uitable() that you set the 'Data' to a cell array of character vectors. In this case to get the raised 2 and 3 you would need to code those using HTML2 such as
<HTML>T<SUP>2</SUP + 1
and overal it is a pain. You might not be able to get the accented characters... that would have to be investigated. You would use HTML entity numbers if you can get them at all, like À
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!