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.
15 Alphabetical List