User`s guide
GUI for Animating a 3-D View (GUIDE)
the figure, the code, or both. Then you can save the G UI in your current
folder using File > Save as from GUIDE. This saves both files, allowing
youtorenamethem,ifyouchoose.
To just inspect the GUI in GUIDE and run it, follow these steps instead:
1 ClickheretoaddtheexamplefilestotheMATLABpath(onlyforthe
current session).
2 Clickheretoruntheglobegui GUI.
3 ClickheretodisplaytheGUIintheGUIDELayoutEditor(readonly).
4 ClickheretodisplaytheGUIcodefileintheMATLABEditor(readonly).
Note Do not save GUI files to the examp les folder where you found them
or you will overwrite the original files. If you want to save G U I files, use
File > Save as from G UIDE, which saves both the GUI FIG-file and the
GUI code file.
Designthe3-DGlobeGUI
• “Summary o f globegui Functions” on page 10-20
• “Alternate the Label of a push B utton” on page 10-21
• “Interrupt the Spin Callback” on page 10-22
• “Make a M ovie o f the Animation” on page 10-23
The GUI contains:
• Three uipanels
• An axes
• Two push buttons
• Two sliders
• Two check boxes
10-17