MATLAB Creating Graphical User Interfaces

(ff) #1

To add a tool, drag an icon from the Tool Palette into the Toolbar Layout (which initially
contains the text prompt shown above), and edit the tool's properties in the Tool
Properties pane.


When you first create a UI, no toolbar exists on it. When you open the Toolbar Editor and
place the first tool, a toolbar is created and a preview of the tool you just added appears
in the top part of the window. If you later open a UI that has a toolbar, the Toolbar Editor
shows the existing toolbar, although the Layout Editor does not.


Add Tools


You can add a tool to a toolbar in three ways:



  • Drag and drop tools from the Tool Palette.


Create Toolbars for GUIDE UIs
Free download pdf