How to adjust GUI to fit screens of varying resolution

3 views (last 30 days)
Hello,
I have created a GUI in Guide.When i run my GUI in different computers of different resolution the screen is not fit to other screens. I want my GUI to adjust to fit screens of different varying resolution, as my application will be used on different computers.
It would be grateful if u let me know you how to do this.
Looking forward to hear from you at the earliest.
Thanks
Pankaja

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 31 Jul 2015
Get the screen size
screensize = get( 0, 'Screensize' )
  1 Comment
Adam
Adam on 31 Jul 2015
or
screensize = get( groot, 'Screensize' )
if you are using R2014b or later.

Sign in to comment.


Walter Roberson
Walter Roberson on 1 Aug 2015

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!