slifrm1.m

来自「用VC++编写的遗传算法源程序」· M 代码 · 共 26 行

M
26
字号
%
% Simple routine to set the frame around the sliders
% and give each slider a name

	gainframe11 = uicontrol(main,'Style','frame',...
		'BackgroundColor',[0.75 0.75 0.75],...
		'Pos',[15 183 170 88]);

	gainframe12 = uicontrol(main,'Style','frame',...
		'BackgroundColor',[1 1 1],...
		'Pos',[18 186 164 40]);

	gainframe13 = uicontrol(main,'Style','frame',...
		'BackgroundColor',[1 1 1],...
		'Pos',[18 229 164 40]);

%
% Put a title above the sliders so user knows what they are for
%
	params_box1=uicontrol(main,...
		'Style','Push',...
		'Units','Pixels',...
		'Position',[15 276 170 25],...
		'String','Steady states');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?