×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Must be simple, but I can not find it

Must be simple, but I can not find it

Must be simple, but I can not find it

(OP)
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!!!

RE: Must be simple, but I can not find it

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).

current_units=get(gcf,'Units');
set(gcf,'Units','normalized','OuterPosition',[0 0 1 1]);
set(gcf,'Units',units);

M

RE: Must be simple, but I can not find it

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

RE: Must be simple, but I can not find it

(OP)
Thank you very much! Your help has been really useful!

Regards from Spain.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources