MATLAB Creating Graphical User Interfaces
Animation with Slider Controls in GUIDE “Light the Globe and Shift the Light Source” on page 9- 77 Create the Graphic Objects ...
9 Examples of GUIDE UIs The surface function plots the surface into the axes. Setting the Parent of the surface to hgrotate puts ...
Animation with Slider Controls in GUIDE Uipanel Axes rotate xform globe surface graticule surface Light tilt xform Inserted obje ...
9 Examples of GUIDE UIs handles.light = hlight; handles.tform = hgrotate; handles.hmesh = hmesh; handles.azimuth = 0.; handles.c ...
Automatically Refresh Plot in a GUIDE UI Automatically Refresh Plot in a GUIDE UI In this section... “About the Example” on page ...
9 Examples of GUIDE UIs To get and view the example code: 1 Copy the example FIG-file and code file to your current (writeable) ...
Automatically Refresh Plot in a GUIDE UI For details about timer properties, methods, and events, see “Use a MATLAB Timer Object ...
9 Examples of GUIDE UIs ex_guide_timergui_OpeningFcn ex_guide_timergui_OpeningFcn creates the timer using the following code: ha ...
Automatically Refresh Plot in a GUIDE UI period = get(handles.periodsldr,'Value'); % Timers need the precision of periods to be ...
9 Examples of GUIDE UIs end % Destroy timer delete(handles.timer) % Destroy figure delete(hObject); ...
Create UIs Programmatically “Lay Out a UI Programmatically” “Create Menus for Programmatic UIs” “Create Toolbars for Programmat ...
...
10 Lay Out a Programmatic UI “Structure of Programmatic UI Code Files” on page 10- 2 “Create Figures for Programmatic UIs” on p ...
10 Lay Out a Programmatic UI Structure of Programmatic UI Code Files In this section... “File Organization” on page 10- 2 “File ...
Structure of Programmatic UI Code Files % Initialization tasks % Construct the components % Initialization tasks % Callbacks for ...
10 Lay Out a Programmatic UI Create Figures for Programmatic UIs In MATLAB software, a UI is a figure. Before you add components ...
Create Figures for Programmatic UIs Property Values Description none — do not display the figure toolbar. auto — display the fi ...
10 Lay Out a Programmatic UI Programmatic Components The following table describes the available components and the function use ...
Programmatic Components Component Function Description panels. The position of each component within a panel is interpreted rela ...
10 Lay Out a Programmatic UI Component Function Description “Tables” on page 10-21 uitable Tables contain rows of numbers, text ...
«
12
13
14
15
16
17
18
19
20
21
»
Free download pdf