GUI + Fullscreen in Matlab

2 Ansichten (letzte 30 Tage)
John
John am 11 Okt. 2012
Hi,
I wondered if it is an efficient way to have full screen with GUI: I looked through this form and on Internet but I get no satisfactory replies. I have tries several solutions like "Maximize", etc. as proposed by many people. Best regards

Antworten (1)

Image Analyst
Image Analyst am 11 Okt. 2012
Their website says they don't have a way. You can make it full screen though:
% Enlarge figure to full screen, but not truly maximized.
set(gcf, 'units','normalized','outerposition',[0 0 1 1]);
There may be a java call to do a legitimate maximize.
  3 Kommentare
Matt Fig
Matt Fig am 11 Okt. 2012
Bearbeitet: Matt Fig am 11 Okt. 2012
So, the code does work, it just isn't what you wanted. Your operating system may be the culprit. This is about as good as you are going to get in MATLAB:
f = figure('menu','none');
set(f,'units','normalized','outerpos',[0 0 1 1.2]);
Image Analyst
Image Analyst am 11 Okt. 2012
Yair's blog will probably be the most comprehensive discussion of the maximize problem: http://undocumentedmatlab.com/blog/minimize-maximize-figure-window/

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by