test.m

来自「PCM(脉冲编码调制」· M 代码 · 共 36 行

M
36
字号
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
h0 = figure('Units','points', ...
	'Color',[0.8 0.8 0.8], ...
	'Colormap','default', ...
	'FileName','start.m', ...
	'MenuBar','none', ...
	'Name','数字调制及其各自的性能分析 ', ...
	'NumberTitle','off', ...
	'PaperPosition',[18 180 476 432], ...
	'PaperUnits','points', ...
	'Position',[230 150 275.25 250.5], ...
	'Resize','on', ...
	'Tag','UIFigure', ...
	'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','ui_check_params', ...
	'HorizontalAlignment','left', ...
	'ListboxTop',1.0, ...
	'Position',[10.75 17.5 193.75 223.75], ...
	'String','', ...
	'Style','listbox', ...
	'Tag','NumofSim');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',1.0, ...
	'Position',[210.75 17.5 53.75 23.75], ...
	'String','', ...
	'Style','Text', ...
	'Tag','Rank');
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
a=ones(5,5);
set(findobj('Tag','NumofSim'),'string',num2str(a))

⌨️ 快捷键说明

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