Specifications
i
Contents
1
Getting Started with GUIDE
What Is GUIDE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Starting GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
The Layout Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
GUIDE Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Running a GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
GUI FIG-Files and M-Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Programming the GUI M-file . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
Editing Version 5 GUIs with Version 7 GUIDE . . . . . . . . . . 1-12
Saving the GUI in Version 7 GUIDE . . . . . . . . . . . . . . . . . . . . 1-12
Updating Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12
2
Creating a GUI
Designing the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Laying Out the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
View Layout and Code for the Example . . . . . . . . . . . . . . . . . . . 2-3
Open a New GUI in the Layout Editor . . . . . . . . . . . . . . . . . . . 2-4
Set the GUI Figure Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Add the Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Align the Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9