Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

Training - Courses

MLGU: MATLAB for Building Graphical User Interfaces

This one-day course presents techniques for building graphical user interfaces (GUIs) in MATLAB. Attendees will learn about user interface controls, such as push buttons and text boxes, and how to use them to create a robust GUI. Topics include:

  • Handle Graphics® objects
  • User interface controls
  • Callback functions
  • Graphical user interface development environment (GUIDE)
  • GUI deployment

Note: A 1 hour test session will be scheduled one day prior to the first day of class. This session is to verify that the visual and audio connection is working properly on your computer. The required product software should be installed for the test session. It is highly recommended that you attend this session to ensure a successful and timely class start.

VIEW SCHEDULE and Register SHARE with Manager/Colleague
 
 Detailed course outline
Day 1 of 1
Handle Graphics

Objective: Review Handle Graphics concepts and manipulate graphics objects programmatically.

  • Graphics objects
  • Object handles
  • Property name/property value pairs
  • Object hierarchy
  • Current axes and figures
Components of a GUI Application

Objective: Create functional user interface controls on a MATLAB figure window.

  • uicontrol objects
  • Object position
  • Callbacks
  • Event execution
  • Edit boxes
Programming Considerations for GUI Applications

Objective: Apply programming techniques to build robust, self-contained GUIs, and to organize GUI data.

  • Function callbacks
  • Local GUI data
  • Data organization
  • Callback data
Layout of GUI Applications Using GUIDE

Objective: Use GUIDE to interactively design a graphical user interface.

  • GUIDE workflow
  • GUIDE layout
  • Object properties
  • GUIDE code template
Programming GUI Applications Using the GUIDE Template

Objective: Modify the callback function stubs created by GUIDE to create a fully functional GUI.

  • GUI data
  • GUI data additions and modifications
  • Wrapper GUI
Deploying GUI Applications

Objective: Generate a standalone executable from a GUI that can be shared with others.

  • Deployment overview
  • Deployment project setup
  • Standalone executable files

Prerequisites

MATLAB Fundamentals

Course Length - 1 day

Request training