📄 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
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.2 25.84615384615385], ...
'MenuBar','none', ...
'Tag','Fig1', ...
'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontSize',14, ...
'FontWeight','bold', ...
'ListboxTop',0, ...
'Position',[87.75 216.75 267 18.75], ...
'String','Find best parameters for a classifier', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''None1'')', ...
'ListboxTop',0, ...
'Position',[69 183 36.75 13.5], ...
'String','None', ...
'Style','radiobutton', ...
'Tag','btnNone1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[152.25 182.25 54 15.75], ...
'Style','edit', ...
'Tag','txtString1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''String1'')', ...
'ListboxTop',0, ...
'Position',[112.5 183 37.5 13.5], ...
'String','String:', ...
'Style','radiobutton', ...
'Tag','btnString1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''Number1'')', ...
'ListboxTop',0, ...
'Position',[214.5 183 12 13.5], ...
'Style','radiobutton', ...
'Tag','btnNumeric1', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[229.5 183 69 13.5], ...
'String',mat1, ...
'Style','popupmenu', ...
'Tag','popSpacing1', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[298.5 183.75 63.75 12.75], ...
'String','spaced between', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[362.25 183.75 35.25 13.5], ...
'Style','edit', ...
'Tag','txtLowerLimit1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[396.75 183.75 26.25 12.75], ...
'String','and', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[423 183 35.25 13.5], ...
'Style','edit', ...
'Tag','txtUpperLimit1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[11.25 184.5 45.75 10.5], ...
'String','Parameter 1', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[11.25 159.75 45.75 10.5], ...
'String','Parameter 2', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[423 158.25 35.25 13.5], ...
'Style','edit', ...
'Tag','txtUpperLimit2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[396.75 159 26.25 12.75], ...
'String','and', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[362.25 159 35.25 13.5], ...
'Style','edit', ...
'Tag','txtLowerLimit2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[298.5 159 63.75 12.75], ...
'String','spaced between', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[229.5 158.25 69 13.5], ...
'String',mat2, ...
'Style','popupmenu', ...
'Tag','popSpacing2', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''Number2'')', ...
'ListboxTop',0, ...
'Position',[214.5 158.25 11.25 13.5], ...
'Style','radiobutton', ...
'Tag','btnNumeric2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''String2'')', ...
'ListboxTop',0, ...
'Position',[112.5 158.25 37.5 13.5], ...
'String','String:', ...
'Style','radiobutton', ...
'Tag','btnString2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[152.25 157.5 54 15.75], ...
'Style','edit', ...
'Tag','txtString2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''None2'')', ...
'ListboxTop',0, ...
'Position',[69 158.25 36.75 13.5], ...
'String','None', ...
'Style','radiobutton', ...
'Tag','btnNone2', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[11.25 203.25 447.75 1.5], ...
'Style','frame', ...
'Tag','Frame2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[11.25 136.5 45.75 10.5], ...
'String','Parameter 3', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[423 135 35.25 13.5], ...
'Style','edit', ...
'Tag','txtUpperLimit3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[396.75 135.75 26.25 12.75], ...
'String','and', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[362.25 135.75 35.25 13.5], ...
'Style','edit', ...
'Tag','txtLowerLimit3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[298.5 135.75 63.75 12.75], ...
'String','spaced between', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[229.5 135 69 13.5], ...
'String',mat3, ...
'Style','popupmenu', ...
'Tag','popSpacing3', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''Number3'')', ...
'ListboxTop',0, ...
'Position',[214.5 134.25 13.5 14.25], ...
'Style','radiobutton', ...
'Tag','btnNumeric3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''String3'')', ...
'ListboxTop',0, ...
'Position',[112.5 135 37.5 13.5], ...
'String','String:', ...
'Style','radiobutton', ...
'Tag','btnString3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[152.25 134.25 54 15.75], ...
'Style','edit', ...
'Tag','txtString3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'Callback','FindParametersFunctions(''None3'')', ...
'ListboxTop',0, ...
'Position',[69 135 36.75 13.5], ...
'String','None', ...
'Style','radiobutton', ...
'Tag','btnNone3', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[12.75 152.25 447.75 1.5], ...
'Style','frame', ...
'Tag','Frame2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[11.25 115.5 45.75 10.5], ...
'String','Parameter 4', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[423 113.25 35.25 13.5], ...
'Style','edit', ...
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -