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 ofy(out_idx(ii))andu(in_idx(ii)).Output
- retsys
- Resulting closed loop system: duplicated i/o names are appended with a
"+"suffix.Method
sysdupcreates 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)