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

📄 gcb.m

📁 数字通信第四版原书的例程
💻 M
字号:
function curblock=gcb(sys)
%GCB	Get current block.
%	B = GCB returns the name to the current block in a SIMULINK
%	model.  The current block is the most recent block within the
%	current system that was clicked in.  In addition, while a
%	simulation is running, S-Function blocks are the current block
%	while they are being evaluated.
%
%	See also GET_PARAM.

%	Copyright (c) 1984-94 by The MathWorks, Inc.
%	Rick Spada  12-10-93

if nargin < 1,
  [cs,cb] = get_param;
else
  [cs,cb] = get_param(sys);
end

if isempty(cs)
  curblock = [];
else
  curblock = [cs '/' cb];
end

⌨️ 快捷键说明

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