Filter löschen
Filter löschen

Display Numbers in UITABLE

5 Ansichten (letzte 30 Tage)
Idan Hamawi
Idan Hamawi am 26 Okt. 2020
Bearbeitet: Bruno Luong am 26 Okt. 2020
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 26 Okt. 2020
If you are using uitable with "traditional" figures, figure(), then set the ColumnFormat property to {'shortg', 'shortg'}
  3 Kommentare
Idan Hamawi
Idan Hamawi am 26 Okt. 2020
Thank you! {'Bank','Bank'} worked for me
Bruno Luong
Bruno Luong am 26 Okt. 2020
Bearbeitet: Bruno Luong am 26 Okt. 2020
And we are still desparetly waiting for TMW to implement more generic format a la sprintf and friends.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Dialog Boxes finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by