Help me about creating GUI in matlab ?

I created a GUI in matlab but I can't make my GUI as big as full screen. Can you help me how to make it big as full screen. thank you very much.

 採用された回答

Walter Roberson
Walter Roberson 2013 年 12 月 26 日

1 投票

After you create the GUI, supposing you know the figure number is FigNum, then
set(FigNum, 'Units', 'norm', 'Position', [0 0 1 1]);
Note: if what you are trying to do is "full screen" in the sense of covering the task bar (MS Windows) or menu bar (OS-X), then a different unsupported method would have to be used.

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 12 月 26 日

1 投票

You can get the screen size:
scr_size = get(0,'ScreenSize');

1 件のコメント

Nguyen Trong Nhan
Nguyen Trong Nhan 2013 年 12 月 26 日
Where I should put "scr_size = get(0,'ScreenSize');" ?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by