Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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: 29
Registered: 1/23/10
Re: GUI
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 <deboralabella17@gmail.com> 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');

--
Ralph

7279 days of Linux experience.


Date Subject Author
10/25/12
Read GUI
Debora
10/25/12
Read Re: GUI
Ralph Schleicher
10/30/12
Read Re: GUI
Debora

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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.