Is ther an easy way to create subscript text in a static text field in GUI?
조회 수: 1 (최근 30일)
이전 댓글 표시
I see several roundabout ways of doing this online, but they are all several years old. I was just curious if maybe this functionality was improved in more recent versions or if anyone had a better trick that doesn't involve HTML...?
Say I have a static text field with tag label 'text1' and the String value is set to 'U1 [kts]'. What is the absolute easiest way to make the '1' a subscript? Is there even an 'easy way'?
댓글 수: 0
답변 (1개)
Walter Roberson
2015년 10월 15일
You could try replacing the '1' with char(8321) but if that does not work then you need HTML
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!