正在加载图片...
Contents Getting Started with GUIDE GUIDE- GUI Development Environment GUIDE Toolset GUI FIG-Files and M-files 15 sing GUIDE Templates 1-6 Example: Creating a gui 2 Designing the gul 22 Laying Out the GUI Layout and Code for the Example 23 Open a New gUI in the Layout Editor Set the gui Figure siz∈ Add the components Align the objects Programming the gui Set Properties for the GUI Components 2-9 Opening the gUI M-file Opening Function 2-15 etween 2-15 Adding Code to the Opening Function 2-16 Adding Code to the Callbacks 2-17 Using the Object Browser to Identify Callbacks Saving and running the gui 2-21i Contents 1 Getting Started with GUIDE GUIDE — GUI Development Environment . . . . . . . . . . . . . . 1-2 GUIDE Toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 GUI FIG-Files and M-Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 Using GUIDE Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 2 Example: Creating a GUI Designing the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Laying Out the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Layout and Code for the Example . . . . . . . . . . . . . . . . . . . . . . . 2-3 Open a New GUI in the Layout Editor . . . . . . . . . . . . . . . . . . . 2-4 Set the GUI Figure Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 Add the Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 Align the Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 Programming the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 Set Properties for the GUI Components . . . . . . . . . . . . . . . . . . 2-9 Opening the GUI M-File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 Opening Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15 Sharing Data Between Callbacks . . . . . . . . . . . . . . . . . . . . . . . 2-15 Adding Code to the Opening Function . . . . . . . . . . . . . . . . . . . 2-16 Adding Code to the Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17 Using the Object Browser to Identify Callbacks . . . . . . . . . . . 2-20 Saving and Running the GUI . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有