MATLAB Creating Graphical User Interfaces
Synchronized Data Presentations in a GUIDE UI The Data Statistics table does not use any callbacks. 5 Use the Axes tool to drag ...
9 Examples of GUIDE UIs 8 Place a second label in the lower axes (axes2), renaming this text object Selection and setting its Ta ...
Synchronized Data Presentations in a GUIDE UI Initialize the Data Table Although you can use the Opening Function to load data i ...
9 Examples of GUIDE UIs stats{2,col} = min(table(:,2)); stats{3,col} = max(table(:,2)); stats{4,col} = mean(table(:,2)); stats{5 ...
Synchronized Data Presentations in a GUIDE UI % hObject handle to plot_type (see GCBO) % eventdata reserved - to be defined in a ...
9 Examples of GUIDE UIs Respond to Data Selections The Data Set table has two columns: Year and Sunspots. The data tables's Cell ...
Synchronized Data Presentations in a GUIDE UI Selection data is generated during mouseDown events (mouse drags in the data table ...
9 Examples of GUIDE UIs Caching the list of rows in the selection is necessary because changing plot types can force selection d ...
Synchronized Data Presentations in a GUIDE UI Open plot in new window. The static text string (tagged newfig) above the plot pan ...
9 Examples of GUIDE UIs Make the Tag for the menu plot_axes2. Create a menu item under it and make its Label Open plot in new w ...
Synchronized Data Presentations in a GUIDE UI % we want to do anything else to them handles.axes1fig = axes1fig; handles.axes1co ...
9 Examples of GUIDE UIs Interactive List Box in a GUIDE UI In this section... “About the Example” on page 9- 46 “Implement the L ...
Interactive List Box in a GUIDE UI (^2) From GUIDE Layout Editor, click the Editor button. The lbox2.m code displays in the MATL ...
9 Examples of GUIDE UIs % Update handles structure guidata(hObject, handles); if nargin == 3, initial_dir = pwd; elseif nargin & ...
Interactive List Box in a GUIDE UI Displays the current folder in the text box by setting its String property to the output of ...
9 Examples of GUIDE UIs Determine whether the selected item is a file or directory The load_listbox function uses the dir comm ...
Interactive List Box in a GUIDE UI try % Use open for other file types. open(filename) catch ex errordlg(... ex.getReport('basic ...
9 Examples of GUIDE UIs Plot Workspace Variables in a GUIDE UI In this section... “About the Example” on page 9- 52 “Read Worksp ...
Plot Workspace Variables in a GUIDE UI To get and view the example code: 1 Copy the example FIG-file and code file to your curre ...
9 Examples of GUIDE UIs function update_listbox(handles) vars = evalin('base','who'); set(handles.listbox1,'String',vars) The fu ...
«
10
11
12
13
14
15
16
17
18
19
»
Free download pdf