Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

How to display on GUI?

Asked by Arun Badigannavar on 11 Feb 2013

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


Arun Badigannavar



No products are associated with this question.

1 Answer

Answer by Image Analyst on 11 Feb 2013

First of all, look at Doug Hull's blogs on making GUIs.

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 Comment

Arun Badigannavar on 11 Feb 2013

I got worked out with "evalin" command,,,thanks for ur response

Image Analyst

Contact us