📄 findparameters.m
字号:
function fig = FindParamters2()
% This is the machine-generated representation of a Handle Graphics object
% and its children. Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
%
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files. Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.
load FindParameters
v = version;
if (v(1) == '5') %Matlab 5
h0 = figure('Units','characters', ...
'Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[19.6 15 124 26], ...
'MenuBar','none', ...
'Tag','FindParameters');
else
h0 = figure('Units','characters', ...
'Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','D:\Users\elad\HW\FindParamters2.m', ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[19.6 15 124 26], ...
'MenuBar','none', ...
'Tag','FindParameters', ...
'ToolBar','none');
end
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontSize',14, ...
'FontWeight','bold', ...
'ListboxTop',0, ...
'Position',[12 22 100 2], ...
'String','Search for best training parameters for a classifier', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''None1'')', ...
'ListboxTop',0, ...
'Position',[18 19 10 1], ...
'String','None', ...
'Style','radiobutton', ...
'Tag','btnNone1');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[40.5 18.75 14 1.5], ...
'Style','edit', ...
'Tag','txtString1');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''String1'')', ...
'ListboxTop',0, ...
'Position',[30 19 10 1], ...
'String','String:', ...
'Style','radiobutton', ...
'Tag','btnString1');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''Number1'')', ...
'ListboxTop',0, ...
'Position',[57 19 3 1], ...
'Style','radiobutton', ...
'Tag','btnNumeric1', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[61.5 18.75 18 1.5], ...
'String',mat1, ...
'Style','popupmenu', ...
'Tag','popSpacing1', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[80 19 16 1], ...
'String','spaced between', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[97 18.75 9 1.5], ...
'Style','edit', ...
'Tag','txtLowerLimit1');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[106.5 19 5 1], ...
'String','and', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[113 18.75 9 1.5], ...
'Style','edit', ...
'Tag','txtUpperLimit1');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[4 19 12 1], ...
'String','Parameter 1', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[4 16.5 12 1], ...
'String','Parameter 2', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[113 16.25 9 1.5], ...
'Style','edit', ...
'Tag','txtUpperLimit2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[106.5 16.5 5 1], ...
'String','and', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[97 16.25 9 1.5], ...
'Style','edit', ...
'Tag','txtLowerLimit2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[80 16.5 16 1], ...
'String','spaced between', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[61.5 16.25 18 1.5], ...
'String',mat2, ...
'Style','popupmenu', ...
'Tag','popSpacing2', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''Number2'')', ...
'ListboxTop',0, ...
'Position',[57 16.5 3 1], ...
'Style','radiobutton', ...
'Tag','btnNumeric2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''String2'')', ...
'ListboxTop',0, ...
'Position',[30 16.5 10 1], ...
'String','String:', ...
'Style','radiobutton', ...
'Tag','btnString2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[40.5 16.25 14 1.5], ...
'Style','edit', ...
'Tag','txtString2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''None2'')', ...
'ListboxTop',0, ...
'Position',[18 16.5 10 1], ...
'String','None', ...
'Style','radiobutton', ...
'Tag','btnNone2', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[3 20.75 120 0.15], ...
'Style','frame', ...
'Tag','Frame2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[4 14 12 1], ...
'String','Parameter 3', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[113 13.75 9 1.5], ...
'Style','edit', ...
'Tag','txtUpperLimit3');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[106.5 14 5 1], ...
'String','and', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[97 13.75 9 1.5], ...
'Style','edit', ...
'Tag','txtLowerLimit3');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[80 14 16 1], ...
'String','spaced between', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[61.5 13.75 18 1.5], ...
'String',mat3, ...
'Style','popupmenu', ...
'Tag','popSpacing3', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''Number3'')', ...
'ListboxTop',0, ...
'Position',[57 14 3 1], ...
'Style','radiobutton', ...
'Tag','btnNumeric3');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''String3'')', ...
'ListboxTop',0, ...
'Position',[30 14 10 1], ...
'String','String:', ...
'Style','radiobutton', ...
'Tag','btnString3');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[40.5 13.75 14 1.5], ...
'Style','edit', ...
'Tag','txtString3');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''None3'')', ...
'ListboxTop',0, ...
'Position',[18 14 10 1], ...
'String','None', ...
'Style','radiobutton', ...
'Tag','btnNone3', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[3 18.25 120 0.15], ...
'Style','frame', ...
'Tag','Frame2');
h1 = uicontrol('Parent',h0, ...
'Units','characters', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[4 11.5 12 1], ...
'String','Parameter 4', ...
'Style','text', ...
'Tag','StaticText3');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -