An app is a self-contained MATLAB® program that provides a simple point-and-click interface to your code. Apps contain interactive controls such as menus, buttons, and sliders that execute specific instructions when your users interact with them. Apps can also contain plots for data visualization or interactive data exploration. Package and share your apps with other MATLAB users, or distribute them as standalone applications using MATLAB Compiler™.
There are different ways to build apps, summarized below. For a full comparison, see Ways to Build Apps.
|App Building Approach||Description|
This is a drag-and-drop environment for laying out user interfaces. Apps created with GUIDE are compatible with previous releases, and support all the graphics functionality in MATLAB. Use this approach to create simple apps that can display any type of plot.
In this approach, you use MATLAB functions to create a traditional figure and place interactive components in that figure programmatically. The resulting app supports the same functionality that GUIDE apps support. Use this approach to build complex apps with many interdependent components that can display any type of plot.
This is a development environment with a larger set of interactive controls, such as gauges, knobs, and switches. Most 2-D plots are also supported. Use this approach for apps that require some of the new interactive components but do not require graphics beyond 2-D plots and images.