Info

この質問は閉じられています。 編集または回答するには再度開いてください。

uiwait until button pressed in another gui

1 回表示 (過去 30 日間)
Steffan
Steffan 2011 年 5 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello
as described in the title, my problem is to make a mainGui stall until a button is pressed in another Gui. Or to set the static text in GUI1 from GUI2.
I have tried the second obtion using findobj which work ok, except when I, in my GUI2, eveluate my closefunction. the close function should close down GUI2 but is now closing down GUI1
relevant code from GUI2:
handles.text1 = findobj(main_gui_v1, 'tag', 'text1');
set(handles.text1, 'string', browseData{1,1}.name);
guidata(hObject,handles);
feval(fhcloseGui);
the first suggestion with uiwait and uiresume is new to me
any suggestions on how to do this?
regards

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by