Creating Graphical User Interfaces Previous page   Next Page

Set the GUI Figure Size

Specify the size of the GUI by resizing the grid area in the Layout Editor. Click on the lower-right corner and resize the grid until it is about 4-by-3 inches.

Resized layout editor grid area

If you want to set the position or size of the GUI to an exact value, do the following:

  1. Select Property Inspector from the View menu.
  2. Select the button next to Units and then select inches from the pop-up menu
  3. Click the + sign next to Position.
  4. Type the x and y coordinates of the point where you want the lower left corner of the GUI to appear, and its width and height, as shown in the following figure.
  5. Reset the Units property to characters.

Property inspector


Previous page  Open a New GUI in the Layout Editor Add the Components Next page

© 1994-2005 The MathWorks, Inc.