Display Numbers in UITABLE
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Idan Hamawi
le 26 Oct 2020
Modifié(e) : Bruno Luong
le 26 Oct 2020
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 commentaires
Réponse acceptée
Walter Roberson
le 26 Oct 2020
If you are using uitable with "traditional" figures, figure(), then set the ColumnFormat property to {'shortg', 'shortg'}
3 commentaires
Bruno Luong
le 26 Oct 2020
Modifié(e) : Bruno Luong
le 26 Oct 2020
And we are still desparetly waiting for TMW to implement more generic format a la sprintf and friends.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Dialog Boxes dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!