How to add several interfaces in one interface of MATLAB GUI
古いコメントを表示
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
採用された回答
その他の回答 (2 件)
Lalit Patil
2013 年 2 月 23 日
0 投票
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 件のコメント
Das Bably
2013 年 2 月 23 日
Lalit Patil
2013 年 2 月 23 日
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
2013 年 2 月 23 日
Das Bably
2013 年 2 月 25 日
Das Bably
2013 年 2 月 25 日
per isakson
2013 年 2 月 25 日
編集済み: per isakson
2013 年 2 月 25 日
0 投票
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
カテゴリ
ヘルプ センター および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!