How to Pass textbox data between 2 GUIs ??

I created 2 GUIs, Home1 and Home2 In Home1 contains a edit textbox, a push button. When we enter the value in text box and press pushbutton1 will go to second gui ie, Home2. Home2 contains a static text. I want to display the Home1 edit textbox value in to static text in Home2.
Home1 button callback :
*function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to addNew (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
l= get(handles.edittextbox1,'string');*

Réponses (0)

Catégories

En savoir plus sur Software Development Tools dans Centre d'aide et File Exchange

Question posée :

le 24 Mai 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by