How can I change ciruit ports in MATLAB by using RF Toolbox? -
i have set circuit ports , wanted change ports. use rf toolbox.
portn = nport(file); port4 = circuit('port4'); add(port4, 1:4, portn); add(port4, [1 0], resistor(10)); add(port4, [2 0], inductor(3)); setports(port4, [1 0], [2 0], [3 0], [4 0]); i want change ports example [1 2], [2 0], [3 0], [4 0]. can't use setports(port4, [1 2], [2 0], [3 0], [4 0]); again because terminals circuit set. how can that? can clear circuit object , create new 1 can change ports?
Comments
Post a Comment