MATLAB Creating Graphical User Interfaces

(Barry) #1
Animation with Slider Controls in GUIDE

To get and view the example code:


1 Copy the example FIG-file and code file to your current (writeable) folder and open
the FIG-file in GUIDE with the following commands:


copyfile(fullfile(docroot, 'techdoc','creating_guis','examples',...
'globegui*.*')), fileattrib('globegui*.*', '+w')
guide globegui.fig

(^2) From GUIDE Layout Editor, click the Editor button.
The globegui.m code displays in the MATLAB Editor.
Design the 3-D Globe UI



  • “Alternate the Label of a Push Button” on page 9- 71

  • “Interrupt the Spin Callback” on page 9- 72

  • “Make a Movie of the Animation” on page 9- 73

Free download pdf