(To be removed) Create or edit UI file in GUIDE
guide opens GUIDE, a UI design environment. From the Quick Start
dialog box, you can choose to open a previously created UI or create a new one using one of
guide( opens the specified
MATLAB® figure file for editing in GUIDE. If the figure file is not on the MATLAB path, specify the full path. Only one
filename can be
opened at a time.
guide( opens each of the
Figure objects in
figs in a separate copy of the
GUIDE design environment. Use this syntax if you want to edit one or more preexisting
figures in GUIDE that have been saved to variables.
Open an existing figure from your MATLAB path.
filename— File name or path of saved figure
File name or path of saved figure, specified as a character vector or string scalar.
Specify the full path if the figure is not on your MATLAB path. Including
.fig in the file name is
Figureobject | array of
Figure objects, specified as a single
Figure object or an array of
Figure objects. Use
this argument to open one or more previously saved figures in separate instances of
GUIDE. GUIDE creates figures with the
Not recommended starting in R2019b
The GUIDE environment and the
guide function will be removed in a future
After GUIDE is removed, existing GUIDE apps will continue to run in MATLAB but will not be editable using the drag-and-drop environment in GUIDE. To continue editing an existing GUIDE app and help maintain its compatibility with future MATLAB releases, use one of the suggested migration strategies listed in the table.
|App Development||Migration Strategy||How to Migrate|
|Frequent or ongoing development||Migrate your app to App Designer||Use the
GUIDE to App Designer Migration Tool for MATLAB
|Minimal or occasional editing||Export your app to a single MATLAB file to manage your app layout and code using MATLAB functions||Open the app in GUIDE and select File > Export to MATLAB-file|
App Designer is the recommended app development environment in MATLAB. To create new apps, use App Designer
appdesigner function instead.
To learn more about migrating apps, see GUIDE Migration Strategies.