The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Update static text for Guide Gui from main matlab function
Replies: 3   Last Post: Feb 4, 2015 2:57 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 6,677
Registered: 2/7/05
Re: Update static text for Guide Gui from main matlab function
Posted: Mar 14, 2013 11:55 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 3/13/2013 2:40 PM, Ioan Alexandru wrote:

>something similar to this. The expectation is fairly simple: I want to change
>the content of a GUI static text box from any external function I wish: even command line.
> Thank you

I do not know about command line. You started talking about GUIDE,
then now started to talk about command line.

In GUIDE, double click on the control you want to change, in
this case it is the static text.

look for the tag field.

put a name there.

in your m file, in the callback, now you can access this
text field using its handle, which is the name you put there in
the tag field in GUIDE.

once you have the handle, you can use the set() command to
change any properties, including the value.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.