Center-justifying sprintf() values in a uitable

조회 수: 5 (최근 30일)
John Bach
John Bach 2022년 2월 4일
댓글: John Bach 2022년 2월 5일
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.

채택된 답변

Jan
Jan 2022년 2월 4일
편집: Jan 2022년 2월 4일
  댓글 수: 1
John Bach
John Bach 2022년 2월 5일
This is perfect Jan, thank you for your help.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by