www.gusucode.com > slcontrol 案例源码程序 matlab代码 > slcontrol/RemoveMultipleOpeningsUsingSignalNamesExample.m

    %% Remove Multiple Openings Using Signal Names  

%% 
% Create an |slLinearizer| interface for the |scdcascade| model. 
sllin = slLinearizer('scdcascade');  

%% 
% Generally, you configure the interface with analysis points, openings,
% operating points, and parameter values. For this example, add only openings
% to the interface. 
addOpening(sllin,{'y2m','y1m','u1'}); 

%%
% |'y2m'|, |'y1m'|, and |'u1'| are the names of signals in the |scdcascade|
% model. The |addOpening| command adds these signals to the list of permanent
% openings for |sllin|.  

%% 
% Remove the |'y1m'| and |'y2m'| openings from |sllin|. 
removeOpening(sllin,{'y1m','y2m'});