Example: Simple GUI

Simple GUI Overview

This section shows you how to write a script that creates the example graphical user interface (GUI) shown in the following figure.

The GUI contains

To use the GUI, the user selects a data set from the pop-up menu, then clicks one of the plot-type push buttons. Clicking the button triggers the execution of a callback that plots the selected data in the axes.

The next topic, Function Summary, summarizes the functions used to create this example GUI.

Subsequent topics guide you through the process of creating the GUI. This process begins with Creating a GUI M-File. We recommend that you create the GUI for yourself.

View Completed Example

If you are reading this in the MATLAB Help browser, you can click the following links to display the example GUI and its M-file.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS