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: 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 ]

Posts: 24
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 " <> wrote in message <ji2csg$itu$>...
> 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]

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