Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (134.13 KB, 14 trang )
1
Getting Started with
GUIDE
What Is GUIDE? (p. 1-2) An introduction to GUIDE
Starting GUIDE (p. 1-3) How to start GUIDE and use the Quick Start dialog
The Layout Editor (p. 1-4) The Layout Editor enables you to lay out the GUI
components quickly and easily
GUIDE Templates (p. 1-6) GUIDE templates are simple, pre-constructed GUIs that
you can modify for your own purposes
Running a GUI (p. 1-8) How to run a GUI
GUI FIG-Files and M-Files (p. 1-9) GUIDE stores GUIs in two files, a FIG-file that contains
the layout, and an M-file that controls the GUI
Programming the GUI M-file (p. 1-10) The GUI M-file controls how the GUI functions
Editing Version 5 GUIs with Version 7
GUIDE (p. 1-12)
Editing GUIs created in GUIDE Version 5
1
Getting Started with GUIDE
1-2
What Is GUIDE?
GUIDE, the MATLAB® Graphical User Interface development environment,
provides a set of tools for creating graphical user interfaces (GUIs). These tools
greatly simplify the process of designing and building GUIs. You can use the
GUIDE tools to
• Lay out the GUI
Using the GUIDE Layout Editor, you can lay out a GUI easily by clicking and
dragging GUI components — such as panels, buttons, text fields, sliders,
menus, and so on — into the layout area.
• Program the GUI
GUIDE automatically generates an M-file that controls how the GUI