How to add text or string in App Designer

10 次查看(过去 30 天)
Hi
I am creating an app in App Designer that perform some calculations. During the process, I want to display text somewhere in the app from a string in the main code. I am aware of uilabel, but this creates a new window instead of displaying the text in the app window.
Please can you help me?

回答(1 个)

Rik
Rik 2017-10-4
It sounds like uicontrol('Style','text') will do the trick.
  4 个评论
Andre Munoz
Andre Munoz 2017-10-4
Yes, I have called uilabel while specifying the parent. No luck.
Cam Salzberger
Cam Salzberger 2017-10-6
Hello Andre,
I answered a similar question here, and didn't experience any issues. Can you provide some details on what didn't work? Did you get any error messages?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by