Main Content

removeAllOpenings

Remove all openings from list of permanent openings in slLinearizer or slTuner interface

Description

removeAllOpenings(s) removes all openings from the list of permanent openings in the slLinearizer or slTuner interface, s. This function does not modify the Simulink® model associated with s.

example

Examples

collapse all

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
 
slLinearizer linearization interface for "scdcascade":

No analysis points. Use the addPoint command to add new points.
No permanent openings. Use the addOpening command to add new permanent openings.
Properties with dot notation get/set access:
      Parameters         : [] 
      OperatingPoints    : [] (model initial condition will be used.)
      BlockSubstitutions : []
      Options            : [1x1 linearize.LinearizeOptions]

Input Arguments

collapse all

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

More About

collapse all

Version History

Introduced in R2013b