Main Content

getPoints

Get list of analysis points for slLinearizer or slTuner interface

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.

example

Examples

collapse all

Open Simulink® model.

mdl = 'ex_scd_simple_fdbk';
open_system(mdl)

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

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

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

pt_names = getPoints(sllin)
pt_names =

  4x1 cell array

    {'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

collapse all

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

Output Arguments

collapse all

Analysis point names, returned as a cell array of character vectors.

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

Version History

Introduced in R2014a