How do you enable a GUI to adjust to fit screens of varying resolution

68 ビュー (過去 30 日間)
Cordelle
Cordelle 2013 年 7 月 1 日
コメント済み: Praneeti Mitra 2021 年 4 月 21 日
I created a GUI in Guide and I want my GUI to adjust to fit screens of different varying resolution, because my application will be used on different computers.
Is there a way to allow this guide? If so, how?
or
Is there a few lines of code need to enable this feature? If so, where can i find examples of the code?
Thank you in advance,
Cordelle

採用された回答

Tom
Tom 2013 年 7 月 1 日
In GUIDE, under Tools -> GUI options you can specify the resizing of the figure, including your own resize function.
You might also want to consider this FEX Submission.
  7 件のコメント
Praneeti Mitra
Praneeti Mitra 2021 年 4 月 21 日
Can someone help me with the same problem?

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

その他の回答 (1 件)

Panu Pratumnopharat
Panu Pratumnopharat 2017 年 1 月 1 日
編集済み: Walter Roberson 2017 年 1 月 1 日
GUI = figure('Color',[0.941 0.941 0.941],...
'Name','HAWTsimulator',...
'NumberTitle','off',...
'MenuBar','none',...
'Unit','normalized',...
'Position',[0 0 1 1],...
'outerposition',[0 0 1 1]);

カテゴリ

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