www.gusucode.com > slcontrol 案例源码程序 matlab代码 > slcontrol/AddOpeningUsingSignalNameExample.m
%% Add Opening Using Signal Name % Suppose you want to analyze only the inner-loop dynamics of the |scdcascade| % model. Add the outer-loop feedback signal, |y1m|, as a permanent % opening of an |slLinearizer| interface. % Copyright 2015 The MathWorks, Inc. %% % Open the |scdcascade| model. mdl = 'scdcascade'; open_system(mdl); %% % Create an |slLinearizer| interface for the model. sllin = slLinearizer(mdl); %% % Add the |y1m| signal as a permanent opening of |sllin|. addOpening(sllin,'y1m'); %% % View the currently defined analysis points within |sllin|. sllin