Display Numbers in UITABLE
9 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Walter Roberson
on 26 Oct 2020
If you are using uitable with "traditional" figures, figure(), then set the ColumnFormat property to {'shortg', 'shortg'}
3 Comments
Bruno Luong
on 26 Oct 2020
Edited: Bruno Luong
on 26 Oct 2020
And we are still desparetly waiting for TMW to implement more generic format a la sprintf and friends.
More Answers (0)
See Also
Categories
Find more on Environment and Settings 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!