Is there a way to show output directly on ui figure with App Designer?

15 visualizaciones (últimos 30 días)
I'm creating an user interface with App Designer and I'd like to insert output (like answer of prompt) directly on UI Figure and not in the Command Window. Is this possible?

Respuesta aceptada

Birdman
Birdman el 29 de Mzo. de 2018
It is possible. I hope I understood you correctly. I made a simple app where I used Label, Edit Field(Numeric) and Button. I simply write a number in the edit field and when I click the button, it is automatically displayed on UIFigure by the help of Label. The callback code is
app.Label.Text=string(app.EditField.Value);
Hope this helps.
  5 comentarios
sc
sc el 5 de Abr. de 2018
Do you know if is there a way to do this with 18a?

Iniciar sesión para comentar.

Más respuestas (1)

alifedjoun
alifedjoun el 17 de Feb. de 2019
how did you display answer in command window?
thanks for any help

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by