Main Content

Develop Apps Programmatically

Develop apps programmatically using MATLAB® functions

Design and edit apps programmatically by coding their layout and behavior using MATLAB functions. Use this method if you want extra control over the structure of your code.

The uifigure function creates a figure that is specially configured for app building and serves as the container for your user interface. UI figures support the same types of modern graphics and interactive UI components that App Designer supports. To take advantage of these features programmatically, create apps with the uifigure function.

If you create apps using the figure function or export a GUIDE app to a MATLAB file, you can continue to develop, run, and edit these apps, but they will not take advantage of the new features and UI components that are available with UI figures.