How to add several interfaces in one interface of MATLAB GUI
Mostrar comentarios más antiguos
Hi Actually I want to add different element in one GUI interface and by clicking different element different interfaces will be appeared for different calculation and will give different transfer matrices those will be calculated together by pressing pushbutton. Please if anybody have any idea tell me as I am trying from many days but don't know how to do it. Thanks to all
Respuesta aceptada
Más respuestas (2)
Lalit Patil
el 23 de Feb. de 2013
0 votos
uicontrol( 'Style', 'push', 'Position', [20 190 250 30],'fontsize',10,'string','Your GUI name', 'Callback',@(src, event) GUI name() );
Write this script below opening function.. and at place Your GUI name write the name of that gui which you want to open..
5 comentarios
Das Bably
el 23 de Feb. de 2013
Lalit Patil
el 23 de Feb. de 2013
If you want to insert 4GUI then write this line four times.
uicontrol( 'Style', 'push', 'Position', [20 190 250 30],'fontsize',10,'string','Button1', 'Callback',@(src, event) Your 1st GUI name() );
uicontrol('Style', 'push', 'Position', [20 130 250 30],'fontsize',10,'string','Button2', 'Callback',@(src, event) Your 2nd GUI name() );
uicontrol( 'Style', 'push', 'Position', [20 70 250 30],'fontsize',10,'string','Button3', 'Callback',@(src, event) Your 3rd GUI name() );
uicontrol('Style', 'push', 'Position', [20 10 250 30],'fontsize',10,'string','Button4', 'Callback',@(src, event) Your 4th GUI name() );
And so on..
Das Bably
el 23 de Feb. de 2013
Das Bably
el 25 de Feb. de 2013
Das Bably
el 25 de Feb. de 2013
per isakson
el 25 de Feb. de 2013
Editada: per isakson
el 25 de Feb. de 2013
0 votos
See
- uitab and uitabgroup (Matlab functions with hidden documentation - open the files)
- Tab panels – uitab and relatives
- TabPanel Constructor v2.8 (2010)
- search the File Exchange for more
- uitabpanel
1 comentario
Das Bably
el 25 de Feb. de 2013
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!