7 function varargout = uip_as_grades_fsg(varargin)
8 % Last Modified by GUIDE v2.5 26-Aug-2012 00:54:49
10 % Begin initialization code - DO NOT EDIT
12 gui_State =
struct(
'gui_Name', mfilename, ...
13 'gui_Singleton', gui_Singleton, ...
14 'gui_OpeningFcn', @uip_as_grades_fsg_OpeningFcn, ...
15 'gui_OutputFcn', @uip_as_grades_fsg_OutputFcn, ...
16 'gui_LayoutFcn', [] , ...
18 if nargin && ischar(varargin{1})
19 gui_State.gui_Callback = str2func(varargin{1});
23 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
25 gui_mainfcn(gui_State, varargin{:});
27 % End initialization code - DO NOT EDIT
29 % --- Executes just before uip_as_grades_fsg is made visible.
30 function uip_as_grades_fsg_OpeningFcn(hObject, eventdata, handles, varargin) %#ok<*INUSL>
31 if numel(varargin) < 3
32 handles.input.flag_needs_fsg = 0;
34 handles.input.flag_needs_fsg = varargin{3};
36 handles.output.flag_ok = 0;
37 guidata(hObject, handles);
41 % --- Outputs from
this function are returned to the command clae.
42 function varargout = uip_as_grades_fsg_OutputFcn(hObject, eventdata, handles)
44 uiwait(handles.figure1);
45 handles = guidata(hObject);
46 varargout{1} = handles.output;
51 varargout{1} = output;
54 %############################################
57 function refresh(handles)
60 %
############################################
61 %############################################
64 % --- Executes on button press in pushbuttonOk.
65 function pushbuttonOk_Callback(hObject, eventdata, handles) %#ok<*DEFNU>
72 handles.output.params = {...
75 handles.output.flag_ok = 1;
76 guidata(hObject, handles);
83 function editVariables_Callback(hObject, eventdata, handles) %#ok<*INUSD>
85 % --- Executes during
object creation, after setting all properties.
86 function editVariables_CreateFcn(hObject, eventdata, handles)
87 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
88 set(hObject,'BackgroundColor','white');
91 % --- Executes on selection change in popupmenuType.
92 function popupmenuType_Callback(hObject, eventdata, handles)
94 % --- Executes during
object creation, after setting all properties.
95 function popupmenuType_CreateFcn(hObject, eventdata, handles)
96 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
97 set(hObject,'BackgroundColor','white');
100 function editNf_Callback(hObject, eventdata, handles)
102 % --- Executes during
object creation, after setting all properties.
103 function editNf_CreateFcn(hObject, eventdata, handles)
104 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
105 set(hObject,'BackgroundColor','white');
108 function editThreshold_Callback(hObject, eventdata, handles)
110 % --- Executes during
object creation, after setting all properties.
111 function editThreshold_CreateFcn(hObject, eventdata, handles)
112 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
113 set(hObject,'BackgroundColor','white');
116 function popupmenuFsg_Callback(hObject, eventdata, handles)
118 function popupmenuFsg_CreateFcn(hObject, eventdata, handles)
119 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
120 set(hObject,'BackgroundColor','white');
124 function popupmenu_fsg_Callback(hObject, eventdata, handles)
126 function popupmenu_fsg_CreateFcn(hObject, eventdata, handles)
127 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
128 set(hObject,'BackgroundColor','white');
131 function checkbox_flag_optimize_Callback(hObject, eventdata, handles)
132 function popupmenu_data_Callback(hObject, eventdata, handles)
133 function popupmenu_data_CreateFcn(hObject, eventdata, handles)
134 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
135 set(hObject,'BackgroundColor','white');
Calculates grades using a Feature Subset Grader (FSG) object.
function listbox_get_selected_1stname(in h_listbox)
function listbox_load_from_workspace(in classname, in h_list, in flag_blank, in string_empty, in input)
function gui_set_position(in hObject)
FSG - Feature Subset Grader.
function irerrordlg(in errorstring, in dlgname)