Documentation Center

  • Trial Software
  • Product Updates

removeAllPoints

Remove all points from list of analysis points in slLinearizer or slTuner interface

Syntax

Description

example

removeAllPoints(s) removes all points from the list of analysis points for the slLinearizer or slTuner interface, s. This function does not modify the model associated with s.

Examples

expand all

Remove All Analysis Points

Create an slLinearizer interface for the scdcascade model. Add analysis points for the r, e1, and y1m signals.

sllin = slLinearizer('scdcascade',{'r','e1','y1m'})
slLinearizer linearization interface for "scdcascade":

3 Analysis points: 
--------------------------
Point 1:
- Block: scdcascade/setpoint
- Port: 1
- Signal Name: r

Point 2:
- Block: scdcascade/Sum1
- Port: 1
- Signal Name: e1

Point 3:
- Block: scdcascade/Sum
- Port: 1
- Signal Name: y1m

No permanent openings. Use addOpening method to add new permanent openings.
Other properties (with dot notation get/set access):
      Parameters         : [] 
      OperatingPoints    : [] (model initial condition will be used.)
      BlockSubstitutions : []
      Options            : [1x1 linearize.LinearizeOptions]

Remove all signals from the list of interface analysis points.

removeAllPoints(sllin);

To verify that all analysis points have been removed, display the contents of sllin, and examine the information about the interface analysis points.

sllin
slLinearizer linearization interface for "scdcascade":

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

Input Arguments

expand all

s — Interface to Simulink® modelslLinearizer interface | slTuner interface

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

More About

expand all

Analysis Points

Analysis points, used by the slLinearizer and slTuner interfaces, identify locations within a model that are relevant for linear analysis and control system tuning. You use analysis points as inputs to the linearization commands, such as getIOTransfer, getLoopTransfer, getSensitivity, and getCompSensitivity. As inputs to the linearization commands, analysis points can specify any open- or closed-loop transfer function in a model. You can also use analysis points to specify design requirements when tuning control systems using commands such as systune (requires a Robust Control Toolbox™ license).

Location refers to a specific block output port within a model. For convenience, you can use the name of the signal that originates from this port to refer to an analysis point.

You can add analysis points to an slLinearizer or slTuner interface, s, when you create the interface. For example:

s = slLinearizer('scdcascade',{'u1','y1'});

Alternatively, you can use the addPoint command.

To view all the analysis points of s, type s at the command prompt to display the interface contents. For each analysis point of s, the display includes the block name and port number and the name of the signal that originates at this point. You can also use getPoints to programmatically obtain a list of all the analysis points.

For more information about how you can use analysis points, see Managing Signals in Control System Analysis and Design.

See Also

| | |

Was this topic helpful?