How to display on GUI?

How to display user defined string value using input dialogue on the gui,,, suppose user enters some string,,,and it will come to workspace,,,and i want to show those user defined string on the GUI

Respuestas (1)

Image Analyst
Image Analyst el 11 de Feb. de 2013

0 votos

First of all, look at Doug Hull's blogs on making GUIs. http://blogs.mathworks.com/videos/category/gui-or-guide/
The answer to your question is to make up a string, say with sprintf(), then use set() to send it to the text label control:
set(handles.text1, 'String', yourString);

1 comentario

Arun Badigannavar
Arun Badigannavar el 11 de Feb. de 2013
I got worked out with "evalin" command,,,thanks for ur response

Iniciar sesión para comentar.

Categorías

Más información sobre File Operations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Feb. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by