Display Numbers in UITABLE
5 次查看(过去 30 天)
显示 更早的评论
Hi all,
I have this table:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/392393/image.png)
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.
0 个评论
采纳的回答
Walter Roberson
2020-10-26
If you are using uitable with "traditional" figures, figure(), then set the ColumnFormat property to {'shortg', 'shortg'}
3 个评论
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 Center 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!