The COUNTERBUS signal of scdbusselection contains multiple bus elements. Add the
upper_saturation_limit and data bus elements as analysis points to sllin. When
adding elements within a nested bus structure, use dot notation to access the elements of
the nested bus, for example limits.upper_saturation_limit.
blk = {'scdbusselection/COUNTERBUSCreator','scdbusselection/COUNTERBUSCreator'};
port_num = [1 1];
bus_elem_name = {'limits.upper_saturation_limit','data'};
addPoint(sllin,blk,port_num,bus_elem_name);
Both bus elements originate at the first (and only) port of the scdbusselection/
COUNTERBUSCreator block. Therefore, blk and port_num repeat the same element
twice.
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.
pt — Analysis point
character vector | string | cell array of character vectors | string array | vector of
linearization I/O objects
Analysis point to add to the list of analysis points on page 15-288 for s, specified as:
- Character vector or string — Signal identifier that can be any of the following:
- Signal name, for example 'torque'
- Block path for a block with a single output port, for example 'Motor/PID'
- Path to block and port originating the signal, for example 'Engine Model/1' or
'Engine Model/torque'
- Cell array of character vectors or string array — Specifies multiple signal identifiers.
- Vector of linearization I/O objects — Use linio to create pt. For example:
pt(1) = linio('scdcascade/setpoint',1)
pt(2) = linio('scdcascade/Sum',1,'output')
15 Alphabetical List