Borrar filtros
Borrar filtros

Integrate two GUIs into a single .exe file

2 visualizaciones (últimos 30 días)
Aditya
Aditya el 26 de Feb. de 2014
Comentada: Dishant Arora el 27 de Feb. de 2014
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Feb. de 2014
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 comentarios
Aditya
Aditya el 27 de Feb. de 2014
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 el 27 de Feb. de 2014
Do you have MATLAB Compiler installed?? if yes, How to Build an Executable using the MATLAB Compile

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by