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: pass variables between GUI's
Replies: 1   Last Post: Apr 11, 2012 8:45 PM

Advanced Search

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

Posts: 22
Registered: 2/11/11
Re: pass variables between GUI's
Posted: Apr 11, 2012 8:45 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"sneal " <sneal.gomes@yahoo.com> wrote in message <ji2csg$itu$1@newscl01ah.mathworks.com>...
> i have created a matlab GUi using GUIDE for user registration.There are 2 GUI's , 1st asks for user details(namw, pwd, etc.) and on clicking the Done pushbutton the Re-enter ur pwd GUI opens.
> My doubt is how do i pass the pwd from 1st GUI to 2nd GUI for String comparision.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


setappdata(0, 'pwd', pwd); % put this in the gui where the password is entered

pwd = getappdata(0, 'pwd'); % put this in the gui you want to send pwd to.

there is a lot on newsgroups about this if you search too.



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.