Ways to Build Apps

There are different ways to build MATLAB® apps:

Each of these approaches offers a different workflow and a slightly different set of functionality. The best choice for you depends on your project requirements and how you prefer to work.

Use App Designer

App Designer is a rich drag-and-drop environment introduced in R2016a, and it is the recommended environment for building apps. It includes a fully integrated version of the MATLAB editor. The layout and code views are tightly linked so that changes you make in one view immediately affect the other. A larger set of interactive controls is available, including gauges, lamps, knobs, and switches. Most graphics functionality is supported.

Use GUIDE

GUIDE is a drag-and-drop environment for laying out user interfaces (UIs). You code the interactive behavior of your app separately, in the MATLAB editor. Apps created with GUIDE are compatible with almost all other releases, and they support all the graphics functionality in MATLAB.

Use MATLAB Functions to Create Apps Programmatically

You can also code the layout and behavior of your app entirely using MATLAB functions. In this approach, you create a traditional figure and place interactive components in that figure programmatically. These apps support the same types of graphics and interactive components that GUIDE supports, as well as tabbed panels.


Related Topics