Is it possible to use an interpreter in UIdropdown items names?
Show older comments
Hi,
I am designing an app with the App Designer. I want to add a drop down menu to choose the size of a capacitor. The menu items have to correspond to the order of magnitude of the capacity, i.e. F, mF, μF, nF. Is there a way to have the "μ" written as a symbol? I can't find an option to use the latex or tex interpreter to have the symbol appear as desired. Thanks in advance for any help.
3 Comments
For characters with a corresponding Alt keyboard sequence you can type the Alt code. For µF just type ALT+230 and F.

If you are running on Windows, you can also use the Character Map to select and copy characters from there. This works well as long as all the characters you need are from the same set - the characters will show correctly as long as you pick the matching font name in the FontName dropdown menu.
Adam Danz
on 19 Apr 2022
@Ampt Ampt I suggest copying your comment to the Answers section.
Gianpietro Battocletti
on 20 Apr 2022
Accepted Answer
More Answers (1)
Ampt Ampt
on 21 Apr 2022
3 votes
For characters with a corresponding Alt keyboard sequence you can type the Alt code. For µF just type ALT+230 and F.

If you are running on Windows, you can also use the Character Map to select and copy characters from there. This works well as long as all the characters you need are from the same set - the characters will show correctly as long as you pick the matching font name in the FontName dropdown menu.
Categories
Find more on Develop Apps Programmatically in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!