Develop Apps Programmatically
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.
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. Using the
uifigure function is the recommended way to create new apps programmatically.
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 full advantage of the features and UI components that are available with UI figures.
- Develop uifigure-Based Apps
Develop apps programmatically using UI figures designed for app building (
- Maintain or Transition figure-Based Apps
Maintain apps created programmatically using the
figurefunction, or apps exported from GUIDE