필터 지우기
필터 지우기

Display Numbers in UITABLE

조회 수: 5 (최근 30일)
Idan Hamawi
Idan Hamawi 2020년 10월 26일
편집: Bruno Luong 2020년 10월 26일
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.

채택된 답변

Walter Roberson
Walter Roberson 2020년 10월 26일
If you are using uitable with "traditional" figures, figure(), then set the ColumnFormat property to {'shortg', 'shortg'}
  댓글 수: 3
Idan Hamawi
Idan Hamawi 2020년 10월 26일
Thank you! {'Bank','Bank'} worked for me
Bruno Luong
Bruno Luong 2020년 10월 26일
편집: Bruno Luong 2020년 10월 26일
And we are still desparetly waiting for TMW to implement more generic format a la sprintf and friends.

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by