Simulink Control Design™ - MathWorks

(Tuis.) #1

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


s — Interface to Simulink model
slLinearizer interface | slTuner interface


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


Output Arguments


pt_names — Analysis point names
cell array of character vectors


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


getPoints
Free download pdf