Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Menu GUI for GUIs

1 visualización (últimos 30 días)
hasan fawaz
hasan fawaz el 9 de Mzo. de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I want to create a GUI which prompts other GUIs . for example it has : A, B , C , D .. if i click A it will open GUI A etc . If not possible any kind of Menu which enables me to chose from different GUIs . I tried using a normal menu=choice but matlab said i cant have (if and while) before GUI functions . thanks
  1 comentario
Jan
Jan el 9 de Mzo. de 2015
Please be much more specific: It is not clear what "it has A, B, ..." means. What exactly is your question? Which part of your code produce errors or does not work as expected? If an error message appears, please copy it completely instead of telling us roughly, that Matlab "said" anything.

Respuestas (1)

Radha Krishna Maddukuri
Radha Krishna Maddukuri el 9 de Mzo. de 2015
Hi Hasan
Creating multiple tabs in a UI is a cool feature that is available using MATLAB User Interface.
For example, you can try the following code snippet:
f = figure;
tgroup = uitabgroup('Parent', f);
tab1 = uitab('Parent', tgroup, 'Title', 'Loan Data');
tab2 = uitab('Parent', tgroup, 'Title', 'Amortization Table');
tab3 = uitab('Parent', tgroup, 'Title', 'Principal/Interest Plot');
This could be applicable for your case. You can add the four UIs as four tabs in a single UI. For further information and examples, please visit the following documentation link: Creating a User Interface with Tab Panels
  1 comentario
hasan fawaz
hasan fawaz el 11 de Mzo. de 2015
First sorry for the late reply i have been very ill these 2 days, This is a good idea , but how will i integrate it with codes for the current GUIs i have created , any way to this from the GUI panel ?. thanks

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by