文档介绍:Introduction to Graphical User Interface (GUI) MATLAB
UAE UNIVERSITY
COLLEGE OF ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
IEEE UAEU STUDENT BRANCH
Introduction to Graphical User Interface (GUI)
MATLAB
Presented By:
Refaat Yousef Al Ashi 199901469
Ahmed Al Ameri 199900378
Coordinated By:
Prof. Abdulla Ismail Abdulla
1
Introduction to Graphical User Interface (GUI) MATLAB
Introduction
A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can
make programs easier to use by providing them with a consistent appearance and with
intuitive controls like pushbuttons, list boxes, sliders, menus, and so forth. The GUI
should behave in an understandable and predictable manner, so that a user knows what to
expect when he or she performs an action. For example, when a mouse click occurs on a
pushbutton, the GUI should initiate the action described on the label of the button. This
chapter introduces the basic elements of the MATLAB GUIs. The chapter does not
contain plete description ponents or GUI features, but it does provide the
basics required to create functional GUIs for your programs.
How a Graphical User Interface Works
A graphical user interface provides the user with a familiar environment in which to
work. This environment contains pushbuttons, toggle buttons, lists, menus, text boxes,
and so forth, all of which are already familiar to the user, so that he or she can
concentrate on using the application rather than on the mechanics involved in doing
things. However, GUIs are harder for the programmer because a GUI-based program
must be prepared for mouse clicks (or possibly keyboard input) for any GUI element at
any time. Such inputs are known as events, and a program that responds to events is said
to be event driven. The three princip