Main Content

Develop Apps Programmatically

使用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.

Theuifigurefunction 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 theuifigurefunction is the recommended way to create new apps programmatically.

If you create apps using thefigurefunction 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.

Catégories