How to put subscript in uilabel text and can I specify location on same line?
Show older comments
I have the following (gl is a uigridlayout)
lblKa = uilabel(gl,"Text","K_a","HorizontalAlignment","center");
lblKa.Layout.Row = 2;
lblKa.Layout.Column = 4;
I am trying to subscript the "a" in "Ka". Also, is it possible to specify the layout row and column in a way that I can reduce three lines of code to one?
Accepted Answer
More Answers (1)
Paul
on 21 Dec 2022
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!