Update figure-Based Apps - MATLAB & Simulink (original) (raw)
Main Content
Migrate apps built with GUIDE to App Designer, or adopt recommended functionality in apps created using the figure
function
The recommended ways to create apps are interactively using App Designer or programmatically using the uifigure
function.
If you have existing apps created using GUIDE, you can continue to run the apps, but you cannot edit them using the GUIDE interactive design environment. To make changes to an existing GUIDE app, see GUIDE Migration Strategies.
If you have existing apps created using the figure
function, 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. For more information about adopting modern functionality in your apps, see Update figure-Based Apps to Use uifigure.
Functions
Alerts
Confirmation and Input
File System
uigetfile | Open file selection dialog box |
---|---|
uiputfile | Open dialog box for saving files |
uigetdir | Open folder selection dialog box |
uiopen | Open file selection dialog box and load selected file into workspace |
uisave | Open dialog box for saving variables to MAT-file |
Printing and Export
uiprintdlg | Open figure print dialog box (Since R2025a) |
---|---|
uiexportdlg | Open figure export dialog box (Since R2025a) |
Other
dialog | Create empty modal dialog box |
---|---|
uigetpref | Create dialog box that opens according to user preference |
Properties
Topics
GUIDE Apps
- GUIDE Migration Strategies
Migrate GUIDE apps (GUIs) to App Designer or export them to MATLABĀ® files.
Programmatic Apps
- Ways to Build Apps
Choose an app building approach that best suits your project requirements and your preferred workflow. - Update figure-Based Apps to Use uifigure
Learn how to update your existingfigure
-based apps to use modern app building functions.- STEP 1: Update UIControl Objects and Callbacks
- STEP 2: Update App Figure and Containers
- STEP 3: Update Dialog Boxes