Main Content


(To be removed) Create or edit UI file in GUIDE

The GUIDE environment will be removed in a future release. For more information, see Compatibility Considerations.


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 the templates.


guide(filename) 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(figs) 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.


collapse all

Open an existing figure from your MATLAB path.


Input Arguments

collapse all

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 optional.

Example: guide("output.fig")

Example: guide('testModule')

Example: guide("C:\Documents\Controls\power.fig")

Existing 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 figure function.

Example: guide([f1 f2]);

Compatibility Considerations

expand all

Not recommended starting in R2019b

Introduced before R2006a