Help me about creating GUI in matlab ?

1 view (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 26 Dec 2013
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.

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 26 Dec 2013
You can get the screen size:
scr_size = get(0,'ScreenSize');
  1 Comment
Nguyen Trong Nhan
Nguyen Trong Nhan on 26 Dec 2013
Where I should put "scr_size = get(0,'ScreenSize');" ?

Sign in to comment.


Find more on Migrate GUIDE Apps in Help Center and File Exchange



Community Treasure Hunt

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

Start Hunting!

Translated by