Borrar filtros
Borrar filtros

Display Numbers in UITABLE

5 visualizaciones (últimos 30 días)
Idan Hamawi
Idan Hamawi el 26 de Oct. de 2020
Editada: Bruno Luong el 26 de Oct. de 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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dialog Boxes en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by