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: GUI
Replies: 2   Last Post: Oct 30, 2012 4:50 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ralph Schleicher

Posts: 38
Registered: 1/23/10
Posted: Oct 25, 2012 3:52 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Debora <> writes:

> I just started to use matlab's graphical interfaces and I was
> wondering if there was a way to insert the variable, that I have
> defined global as they must be used in 3 different buttons, in the
> GUI's handles within in order to nn define always global.

setappdata(fig_handle, 'myvar', myvar);
myvar = getappdata(fig_handle, 'myvar');


7279 days of Linux experience.

Date Subject Author
Read GUI
Read Re: GUI
Ralph Schleicher
Read Re: GUI

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.