getPoints

Get list of analysis points for slLinearizer or slTuner interface

Syntax

  • pt_names = getPoints(s)

Description

pt_names = getPoints(s) returns the names of the analysis points of s, which can be either an slLinearizer interface or an slTuner interface. Use the analysis point names to extract transfer functions using commands such as getIOTransfer and to specify tuning goals for an slTuner interface.

Examples

expand all

Obtain Analysis Point Names of slLinearizer Interface

Create an slLinearizer interface to the ex_scd_simple_fdbk model, and add some analysis points to the interface.

sllin = slLinearizer('ex_scd_simple_fdbk',{'r','e','u','y'});

Get the names of all the analysis points associated with sllin.

pt_names = getPoints(sllin)
pt_names = 

    'ex_scd_simple_fdbk/Reference/1[r]'
    'ex_scd_simple_fdbk/Sum/1[e]'
    'ex_scd_simple_fdbk/K (controller)/1[u]'
    'ex_scd_simple_fdbk/G (plant)/1[y]'

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.

Output Arguments

expand all

pt_names — Analysis point namescell array of strings

Analysis point names, returned as a cell array of strings.

Each entry of pt_names follows the pattern, full block path/outport number/[signal name].

Was this topic helpful?