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

    %% Remove All Openings from slLinearizer Interface  

%% 
% 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 two openings
% to the interface. 
addOpening(sllin,{'y2m','y1m'}); 

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

%% 
% Remove all the openings from |sllin|. 
removeAllOpenings(sllin);  

%% 
% To verify that all openings have been removed, display the contents of
% |sllin|, and examine the information about the interface openings. 
sllin