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

Thread Subject:
matlab gui

Subject: matlab gui

From: MICHAEL

Date: 27 Aug, 2010 10:48:04

Message: 1 of 2

in my gui i have button pressing on it will run a function which returns 2 numbers x, y.
i wanna show the value of the 2 numbers in gui.

1. which object to choose to show them?
2. how do i do that? (i mean, how do i get the handle to this object to show the nembers with the set function)

Subject: matlab gui

From: ImageAnalyst

Date: 27 Aug, 2010 12:01:09

Message: 2 of 2

On Aug 27, 6:48 am, "michael" <bezen...@gmail.com> wrote:
> in my gui i have button pressing on it will run a function which returns 2 numbers x, y.
> i wanna show the value of the 2 numbers in gui.
>
> 1. which object to choose to show them?
> 2. how do i do that? (i mean, how do i get the handle to this object to show the nembers with the set function)

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Well I just answered that well before you asked again. Was my answer
not acceptable?
What newsreader are you using? Does it not update after 44 minutes?
I know Google updates in less than a minute, and the Mathworks
newsreader only takes about 2-3 minutes.

You didn't answer my question (which would make sense if you didn't
see my answer). Are you using GUIDE to create your GUI or you're
doing it manually on your own with the uicontrol() statements?

By the way, you could also "show" the values of the numbers using an
edit text box, or a plot, or a listbox, or a popup control, etc. But
I think a static text might make the most sense and be what you're
seeking.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us