Center-justifying sprintf() values in a uitable

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.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Asked:

on 4 Feb 2022

Commented:

on 5 Feb 2022

Community Treasure Hunt

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

Start Hunting!