IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
uip_fcon_mcr.m
Go to the documentation of this file.
1 %>@file
2 %>@ingroup guigroup
3 %>@brief Properties Window for @ref fcon_mcr
4 %>
5 %> Please check fcon_mcr for information.
6 %>
7 %> @sa fcon_mcr
8 
9 %>@cond
10 function varargout = uip_fcon_mcr(varargin)
11 % Last Modified by GUIDE v2.5 12-Jun-2011 23:08:02
12 
13 % Begin initialization code - DO NOT EDIT
14 gui_Singleton = 1;
15 gui_State = struct('gui_Name', mfilename, ...
16  'gui_Singleton', gui_Singleton, ...
17  'gui_OpeningFcn', @uip_fcon_mcr_OpeningFcn, ...
18  'gui_OutputFcn', @uip_fcon_mcr_OutputFcn, ...
19  'gui_LayoutFcn', [] , ...
20  'gui_Callback', []);
21 if nargin && ischar(varargin{1})
22  gui_State.gui_Callback = str2func(varargin{1});
23 end
24 
25 if nargout
26  [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
27 else
28  gui_mainfcn(gui_State, varargin{:});
29 end
30 % End initialization code - DO NOT EDIT
31 
32 
33 % --- Executes just before uip_fcon_mcr is made visible.
34 function uip_fcon_mcr_OpeningFcn(hObject, eventdata, handles, varargin)
35 handles.output.flag_ok = 0;
36 guidata(hObject, handles);
37 gui_set_position(hObject);
38 
39 
40 % --- Outputs from this function are returned to the command clae.
41 function varargout = uip_fcon_mcr_OutputFcn(hObject, eventdata, handles)
42 try
43  uiwait(handles.figure1);
44  handles = guidata(hObject);
45  varargout{1} = handles.output;
46  delete(gcf);
47 catch
48  output.flag_ok = 0;
49  varargout{1} = output;
50 end;
51 
52 
53 % --- Executes on button press in pushbuttonOk.
54 function pushbuttonOk_Callback(hObject, eventdata, handles)
55 handles.output.params = {...
56 'no_factors', int2str(eval(get(handles.editNofactors, 'String'))) ...
57 };
58 handles.output.flag_ok = 1;
59 guidata(hObject, handles);
60 uiresume();
61 
62 
63 function editNofactors_Callback(hObject, eventdata, handles)
64 
65 % --- Executes during object creation, after setting all properties.
66 function editNofactors_CreateFcn(hObject, eventdata, handles)
67 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
68  set(hObject,'BackgroundColor','white');
69 end
70 
71 
72 
73 function edit_nc_max_Callback(hObject, eventdata, handles)
74 
75 
76 % --- Executes during object creation, after setting all properties.
77 function edit_nc_max_CreateFcn(hObject, eventdata, handles)
78 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
79  set(hObject,'BackgroundColor','white');
80 end
81 %>@endcond
Multivariate Curve Resolution.
Definition: fcon_mcr.m:16
function gui_set_position(in hObject)