MATLAB Creating Graphical User Interfaces
UI That Uses Persistent Data % it equal to the index of the % last element in the Addresses array if i < 1 i = length(Address ...
9 Examples of GUIDE UIs the Contact_Name_Callback or the Contact_Phone_Callback updates handles.Addresses. If you select Save, t ...
UI That Uses Persistent Data guidata(hObject,handles) end end Clear UI Fields The Create New menu clears the Contact Name and Co ...
9 Examples of GUIDE UIs When the you resize the window and release the mouse, the SizeChangedFcn callback executes. Unless you h ...
UI That Uses Persistent Data % When docked, get out return end % If resized figure is smaller than original figure, then compens ...
9 Examples of GUIDE UIs UI That Accepts Parameters and Generates Plots In this section... “About the Example” on page 9- 20 “UI ...
UI That Accepts Parameters and Generates Plots To get and view the example code: 1 Copy the example FIG-file and code file to yo ...
9 Examples of GUIDE UIs If you run the two_axes program and click the Plot button, the UI appears as shown in the preceding figu ...
UI That Accepts Parameters and Generates Plots Identify the Axes Since there are two axes in this UI, you must specify which one ...
9 Examples of GUIDE UIs Validate Input as Numbers When you UI displays, you can type parameters into three edit text fields as s ...
UI That Accepts Parameters and Generates Plots a MATLAB expression. Because you can type many things that eval cannot handle, th ...
9 Examples of GUIDE UIs The edit text callbacks execute when you enter text in an edit field and press Return or click elsewhere ...
UI That Accepts Parameters and Generates Plots In this figure, the two plots reflect the last successful set of inputs, f1 = 31. ...
9 Examples of GUIDE UIs Plot Data The final task for the plot_button_Callback is to generate two plots. This involves: Targetin ...
UI That Accepts Parameters and Generates Plots Resize and Command-Line Options Select Tools > GUI Options to set these option ...
9 Examples of GUIDE UIs Synchronized Data Presentations in a GUIDE UI In this section... “About the Example” on page 9- 30 “Recr ...
Synchronized Data Presentations in a GUIDE UI To get and view the example code: 1 Copy the example FIG-file and code file to you ...
9 Examples of GUIDE UIs (^2) In the GUIDE Layout Editor, click the Editor button. The tablestat.m code file opens in the MATLAB ...
Synchronized Data Presentations in a GUIDE UI Perform the following steps in GUIDE and in the Property Inspector to generate the ...
9 Examples of GUIDE UIs b In the Property Inspector, click the Table Property Editor icon to the right of the RowName property t ...
«
9
10
11
12
13
14
15
16
17
18
»
Free download pdf