Date: Apr 11, 2012 8:45 PM
Author: Alex
Subject: Re: pass variables between GUI's

"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.