Display Numbers in UITABLE

5 次查看(过去 30 天)
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
If you are using uitable with "traditional" figures, figure(), then set the ColumnFormat property to {'shortg', 'shortg'}
  3 个评论
Idan Hamawi
Idan Hamawi 2020-10-26
Thank you! {'Bank','Bank'} worked for me
Bruno Luong
Bruno Luong 2020-10-26
编辑:Bruno Luong 2020-10-26
And we are still desparetly waiting for TMW to implement more generic format a la sprintf and friends.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dialog Boxes 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by