?? get_root_system.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 + -