MATLAB Creating Graphical User Interfaces
Synchronized Data Presentations in a Programmatic UI xvals = sel(:,1); xvals(sel(:,2) ~= col) = []; yvals = table(xvals, col)'; ...
14 Examples of UIs Created Programmatically Setting the z-values ensures that the markers plot on top of the lines. 5 Assigns x- ...
Synchronized Data Presentations in a Programmatic UI % Obtain the data for that column ydata = htable.Data; haxes.NextPlot = 'Ad ...
14 Examples of UIs Created Programmatically Lists of Items in a Programmatic UI In this section... “About the Example” on page 1 ...
Lists of Items in a Programmatic UI View the Example Code The example includes one code file, two MAT-files and a text file: li ...
14 Examples of UIs Created Programmatically List Master looks for the listmaster_icons.mat MAT-file when creating a new UI (from ...
Lists of Items in a Programmatic UI Because the positions of all controls are specified in normalized Units, the UI is resizable ...
14 Examples of UIs Created Programmatically Import Data into List Master You can import data into the UI at any time. If the UI ...
Lists of Items in a Programmatic UI that to paste new items into a list, you must add them one at a time via the edit text box. ...
14 Examples of UIs Created Programmatically Program List Master The List Master UI code file contains 22 functions, organized in ...
Lists of Items in a Programmatic UI Here is the code that calculates the initial position of the UI window: su = get(groot,'Unit ...
14 Examples of UIs Created Programmatically lmnew then calls the enable_updown function. The enable_updown function sets the Ena ...
Lists of Items in a Programmatic UI List Master List Callbacks The six callbacks not associated with menu items are listed and d ...
14 Examples of UIs Created Programmatically Likewise, specifying the figure handle to findobj assures that only one list box han ...
Lists of Items in a Programmatic UI setappdata(fh,'Dirty',yes_no); % Also disable or enable the File->Save item according to ...
14 Examples of UIs Created Programmatically UI for a Program That Accepts Arguments In this section... “About the Example” on pa ...
UI for a Program That Accepts Arguments 1 Clicking a color cell toggle button makes the program perform these actions: Display ...
14 Examples of UIs Created Programmatically mGetColorFcn = colorPalette('Parent',hPaletteContainer) The colorPalette function ac ...
UI for a Program That Accepts Arguments Function Description hPalettePanelSelectionChangedExecutes when the user clicks on a new ...
14 Examples of UIs Created Programmatically 4 Figure window and component creation. 5 UI initialization. 6 Callback definitions. ...
«
16
17
18
19
20
21
22
23
24
25
»
Free download pdf