Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

getOpenings

Get list of openings for slLinearizer or slTuner interface

Syntax

op_names = getOpenings(s)

Description

example

op_names = getOpenings(s) returns the names of the permanent openings of s, which can be either an slLinearizer interface or an slTuner interface.

Examples

collapse all

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 =

  cell

    'scdcascade/Sum/1[y1m]'

Input Arguments

collapse all

Interface to a Simulink model, specified as either an slLinearizer interface or an slTuner interface.

Output Arguments

collapse all

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].

Introduced in R2014a

Was this topic helpful?