getOpenings
Get list of openings for slLinearizer
or slTuner
interface
Description
Examples
Obtain Permanent Opening Names of slLinearizer Interface
Open the scdcascade
model.
mdl = 'scdcascade';
open_system(mdl)
Create an slLinearizer
interface to the model, and add some analysis points to the interface.
sllin = slLinearizer(mdl,{'u1','y1'});
Suppose you are interested in analyzing only the inner loop. To do so, add y1m
as a permanent opening of sllin
.
addOpening(sllin,'y1m');
In larger models, you may want to open multiple loops to isolate the system of interest.
After performing some additional steps, such as adding more points of interest and extracting transfer functions, suppose you want a list of all the openings of sllin
.
op_names = getOpenings(sllin)
op_names = 1x1 cell array {'scdcascade/Sum/1[y1m]'}
Input Arguments
s
— Interface to Simulink® model
slLinearizer
interface | slTuner
interface
Interface to a Simulink model, specified as either an slLinearizer
interface or an slTuner
interface.
Output Arguments
op_names
— Permanent opening names
cell array of character vectors
Permanent opening names, returned as a cell array of character vectors.
Each entry of op_names
follows the pattern, full
block path/outport number/[signal name]
.
Version History
Introduced in R2014a
See Also
getIOTransfer
| addOpening
| removeOpening
| slLinearizer
| slTuner
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)