MATLAB Creating Graphical User Interfaces

(ff) #1

The Toolbar Editor gives you interactive access to all the features of the uitoolbar,
uipushtool, and uitoggletool functions. It only operates in the context of GUIDE;
you cannot use it to modify any of the built-in MATLAB toolbars. However, you can use the
Toolbar Editor to add, modify, and delete a toolbar from any UI in GUIDE.


Currently, you can add one toolbar to your UI in GUIDE. However, your UI can also
include the standard MATLAB figure toolbar. If you need to, you can create a toolbar that
looks like a normal figure toolbar, but customize its callbacks to make tools (such as pan,
zoom, and open) behave in specific ways.


NoteYou do not need to use the Toolbar Editor if you simply want your UI to have a
standard figure toolbar. You can do this by setting the figure's ToolBar property to
'figure', as follows:


Create Toolbars for GUIDE UIs
Free download pdf