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

📄 get_root_system.m

📁 CheckMate is a MATLAB-based tool for modeling, simulating and investigating properties of hybrid dyn
💻 M
字号:
function sys = get_root_system(sys)

% Get the root level system for a given subsystem
%
% Syntax:
%   "root = get_root_system(sys)"
%
% Description:
%   "get_root_system(sys)" returns the root level system (system with no
%   parents in the hierarchy) containing the subsystem "sys".

parent = get_param(sys,'Parent');
while ~isempty(parent)
  sys = parent;
  parent = get_param(sys,'Parent');
end
return

⌨️ 快捷键说明

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