필터 지우기
필터 지우기

Integrate two GUIs into a single .exe file

조회 수: 2 (최근 30일)
Aditya
Aditya 2014년 2월 26일
댓글: Dishant Arora 2014년 2월 27일
Hi friends, I want to integrate two GUIs,A and B,into a single .exe file. On executing the .exe file,a message box should appear asking the user to 'Choose One' with two tabs 'A' and 'B'.
A click on 'A' should open the A GUI and a click on 'B',the B GUI. Please tell me how to do this. Thanks in advance.

채택된 답변

Walter Roberson
Walter Roberson 2014년 2월 26일
choice = menu('What''s it going to be?', 'Yes', 'No');
if choice == 1
rick_roll();
elseif choice == 2
maoist_hiku();
else
disp('Couldn''t make up your mind, eh?');
end
  댓글 수: 2
Aditya
Aditya 2014년 2월 27일
Great! That works. But how can I make a single .exe file with A.fig and B.fig GUIs integrated in it. So,when started,it asks the user the above details.Thanks.
Dishant Arora
Dishant Arora 2014년 2월 27일
Do you have MATLAB Compiler installed?? if yes, How to Build an Executable using the MATLAB Compile

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by