sysdup [control]
— Function File: retsys = sysdup (asys, out_idx, in_idx)

Duplicate specified input/output connections of a system

Inputs

asys
system data structure
out_idx
in_idx
indices or names of desired signals (see sigidx). duplicates are made of y(out_idx(ii)) and u(in_idx(ii)).

Output

retsys
Resulting closed loop system: duplicated i/o names are appended with a "+" suffix.

Method

sysdup creates copies of selected inputs and outputs as shown below. u1, y1 is the set of original inputs/outputs, and u2, y2 is the set of duplicated inputs/outputs in the order specified in in_idx, out_idx, respectively

          ____________________
          u1  ----->|                  |----> y1
          |       asys       |
          u2 ------>|                  |----->y2
          (in_idx)  -------------------- (out_idx)