For Programmers: Free Programming Magazines  


Home > Archive > Matlab > April 2005 > GUI,Very simple question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author GUI,Very simple question
Cristian Müller

2005-04-06, 12:53 pm

Hello,

how can i modify the Text property of an uicontrol(?) from a button
callback?

For example i want the number 23 there!

Regards.
Isaac Beckman

2005-04-06, 12:53 pm

use the command:

set(handles.<uicontrol_tag>,'String','your_txt');
where:
<uicontrol_tag> is the tag name of the uicontrol.
and 'your_txt' is the text you want (23)

Isaac

Cristian Müller wrote:
>
>
> Hello,
>
> how can i modify the Text property of an uicontrol(?) from a button
> callback?
>
> For example i want the number 23 there!
>
> Regards.

Jérôme

2005-04-06, 12:54 pm

Hi,

Me again... multiple messages give multiple answers !

<http://www.mathworks.com/support/te.../1200/1205.html>

Jérôme
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com