How to add text or string in App Designer

15 visualizaciones (últimos 30 días)
Andre Munoz
Andre Munoz el 4 de Oct. de 2017
Comentada: Cam Salzberger el 6 de Oct. de 2017
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?

Respuestas (1)

Rik
Rik el 4 de Oct. de 2017
It sounds like uicontrol('Style','text') will do the trick.
  4 comentarios
Andre Munoz
Andre Munoz el 4 de Oct. de 2017
Yes, I have called uilabel while specifying the parent. No luck.
Cam Salzberger
Cam Salzberger el 6 de Oct. de 2017
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?

Iniciar sesión para comentar.

Categorías

Más información sobre Develop uifigure-Based Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by