0% found this document useful (0 votes)
50 views

Matlab Gui

Creating Graphical User Interfaces provides predefined dialog boxes and functions to control GUI programs. It discusses categories including predefined dialog boxes, deploying user interfaces, developing user interfaces, user interface objects, finding and identifying objects, and GUI utility functions. The document provides descriptions and examples of functions in each category to create, manage, and interact with graphical user interfaces.

Uploaded by

Bun Kun
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Matlab Gui

Creating Graphical User Interfaces provides predefined dialog boxes and functions to control GUI programs. It discusses categories including predefined dialog boxes, deploying user interfaces, developing user interfaces, user interface objects, finding and identifying objects, and GUI utility functions. The document provides descriptions and examples of functions in each category to create, manage, and interact with graphical user interfaces.

Uploaded by

Bun Kun
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Creating Graphical User Interfaces

Creating Graphical User Interfaces


Predefined dialog boxes and functions to control GUI programs.

Category Description

Predefined Dialog Dialog boxes for error, user input, waiting, etc.
Boxes

Deploying User Launching GUIs, creating the handles


Interfaces structure

Developing User Starting GUIDE, managing application data,


Interfaces getting user input

User Interface Objects Creating GUI components

Finding and Finding object handles from callbacks


Identifying Objects

GUI Utility Functions Moving objects, text wrapping

Controlling Program Wait and resume based on user input


Execution

Predefined Dialog Boxes


dialog Create dialog box
errordlg Create error dialog box
helpdlg Display help dialog box
inputdlg Create input dialog box
listdlg Create list selection dialog box
msgbox Create message dialog box
pagedlg Display page layout dialog box
printdlg Display print dialog box
questdlg Create question dialog box
uigetfile Display dialog box to retrieve name of file for reading
uiputfile Display dialog box to retrieve name of file for writing
uisetcolor Set ColorSpec using dialog box
uisetfont Set font using dialog box
waitbar Display wait bar
warndlg Create warning dialog box

1-47
1 Functions By Category

Deploying User Interfaces


guidata Store or retrieve application data
guihandles Create a structure of handles
movegui Move GUI figure onscreen
openfig Open or raise GUI figure

Developing User Interfaces


guide Open GUI Layout Editor
inspect Display Property Inspector

Working with Application Data


getappdata Get value of application data
isappdata True if application data exists
rmappdata Remove application data
setappdata Specify application data

Interactive User Input


ginput Graphical input from a mouse or cursor
waitforbuttonpressWait for key/buttonpress over figure

User Interface Objects


menu Generate menu of choices for user input
uicontextmenu Create context menu
uicontrol Create user interface control
uimenu Create user interface menu

Finding and Identifying Objects


findall Find all graphics objects
findfigs Display off-screen visible figure windows
gcbf Return handle of figure containing callback object
gcbo Return handle of object whose callback is executing

GUI Utility Functions


selectmoveresizeSelect, move, resize, or copy axes and uicontrol graphics objects
textwrap Return wrapped string matrix for given uicontrol

1-48

You might also like