How to Pass textbox data between 2 GUIs ??

1 次查看(过去 30 天)
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');*

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by