Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Must be simple, but I can not find it 1

Status
Not open for further replies.

faermi

Chemical
Oct 29, 2002
13
I'm developing a program in matlab that uses some windows, but I'm not using GUIDE. I've already finished the program, but I still have a silly problem... How can I tell Matlab to start the window maximized? Must be a silly thing, but I can not find the property. Can anybody help?


Thank you in advance!!!
 
Replies continue below

Recommended for you

Interesting point. The following code will fill the screen with the window, but will not maximise it in a true sense (ie the maximise button will not show maximised).
Code:
current_units=get(gcf,'Units');
set(gcf,'Units','normalized','OuterPosition',[0 0 1 1]);
set(gcf,'Units',units);
M
 
Just had a quick look on the Matlab Central file exchange. There are a few more sophisticated ways of doing it posted there, but an article in the technical note section of the mathworks website says that a true maximise/mimimise/restore operation is not available in matlab.

M
 
Thank you very much! Your help has been really useful!

Regards from Spain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor