MATLAB Creating Graphical User Interfaces

(Barry) #1
Create Toolbars for Programmatic UIs

If necessary, you can use the findall function to determine the handles of the tools on a
particular toolbar.


NoteAfter you have created a toolbar and its tools, set their HandleVisibility properties
off by executing statements similar to the following:


toolbarhandle.HandleVisibility = 'off';
toolhandles = toolbarhandle.Children;
toolhandles.HandleVisibility = 'off';


Display and Modify the Standard Toolbar


You can choose whether or not to display the MATLAB standard toolbar (highlighted in
red below). You can also add or delete tools from the standard toolbar.

Free download pdf