⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bdclose.m

📁 数字通信第四版原书的例程
💻 M
字号:
function bdclose(sys)
%BDCLOSE Close a SIMULINK model window.
%	BDCLOSE(SYS) Close the model window with the name SYS.
%	BDCLOSE, by itself, closes the current model window.
%
%	BDCLOSE closes the block diagram unconditionally and without confirmation.
%
%	BDCLOSE('name') closes the named block diagram.
%
%	BDCLOSE('all') closes all block diagrams.
%
%	See also CLOSE_SYSTEM.

%	Copyright (c) 1990-94 by The MathWorks, Inc.
%	Rick Spada  6-9-93

% no args, close the current system
if nargin == 0,
  if ~isempty(get_param),
	close_system(get_param,0);
  end

  return;
end;

% existing block diagram, close it
if exist(sys)==4,
  close_system(sys,0);
  return;
end

% sys == 'all', close all block diagrams
if strcmp(lower(sys),'all'),
  while ~isempty(get_param),
	close_system(get_param,0);
  end;
end;

⌨️ 快捷键说明

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