Main Content

guide

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

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

Description

guide opens GUIDE, a UI design environment. The GUIDE environment provides a set of tools for creating user interfaces (UIs). These tools simplify the process of laying out and programming UIs.

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.

example

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.

Examples

collapse all

Open an existing figure from your MATLAB path.

guide("feedback.fig")

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]);

Version History

Introduced before R2006a

expand all