m1_w3.m

来自「这是一个用于语音信号处理的工具箱」· M 代码 · 共 57 行

M
57
字号
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%	
%	m1_w3.m
%
%	callback for window-display pushbutton 3 for m1
%
%	PREVIEW WINDOW
%
%	jmw
%	6/8/94
%  modified by D. G. Childers 2/16/98
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%if (~isempty(w3_h))
%	;
	% do nothing, window is already open
%	return;	
%else
		
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% do following ONLY if window was just opened

% initialize window:

if (isempty(w3_saved_position))
	w3_h=figure('Position',[100 150 740 430],'Numbertitle','off','Name',...
	'Preview: Segmentation & Labeling Results' ,'Resize','on',...
	'Color',BACK_COLOR);
else
	w3_h=figure('Position',w3_saved_position,'Numbertitle','off','Name',...
	'Preview: Segmentation & Labeling Results' ,'Resize','on',...
	'Color',BACK_COLOR);
end;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% call external mfile to plot

%fun_prev(name,BACK_COLOR,TEXT_COLOR,linecolor);
fun_prev;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% add 'OK' function button

w3_pb_ok_h=uicontrol('Position',[0.01 .90 .09 .050],'String','OK',...
'Callback','w3_ok','Units','normalized');

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%return;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%end;	% end ~isempty(w3_h) 

⌨️ 快捷键说明

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