Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

uiwait until button pressed in another gui

조회 수: 2 (최근 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