Display Numbers in UITABLE

Hi all,
I have this table:
I would like to get the number 1624.9 instead of 1.6249e03.
Also i would like to center the numbers and change their font.
Thank you.

 采纳的回答

Walter Roberson
Walter Roberson 2020-10-26

0 个投票

If you are using uitable with "traditional" figures, figure(), then set the ColumnFormat property to {'shortg', 'shortg'}

3 个评论

It also works on uifigure.
Thank you! {'Bank','Bank'} worked for me
And we are still desparetly waiting for TMW to implement more generic format a la sprintf and friends.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by