Center-justifying sprintf() values in a uitable

11 vues (au cours des 30 derniers jours)
John Bach
John Bach le 4 Fév 2022
Commenté : John Bach le 5 Fév 2022
I used sprintf() to display an array in a uitable however they are left-justified by default. How can I align the values in the uitable so that they are center-justified, as the column titles are.
Thank you in advance for your help.

Réponse acceptée

Jan
Jan le 4 Fév 2022
Modifié(e) : Jan le 4 Fév 2022
  1 commentaire
John Bach
John Bach le 5 Fév 2022
This is perfect Jan, thank you for your help.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by