📄 bdroot.m
字号:
function root_sys = bdroot(sys)
%BDROOT Return the root level block diagram.
% BDROOT(sys), where sys is the name of a SIMULINK
% model or block, returns the root level block diagram.
% If BDROOT is called with no arguments or if sys is
% empty, BDROOT returns the root level block diagram
% of the current SIMULINK model.
% Copyright (c) 1990-94 by The MathWorks, Inc.
% Rick Spada 3-8-93
if nargin==0,
sys=get_param;
end
while ~isempty(get_param(sys,'Parent')),
sys=get_param(sys,'Parent');
end;
root_sys=sys;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -