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.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by