setports(cktobj,nodepairs)
defines the node_pairs in an N-port cktobj
using nodepairs argument. This syntax then
assigns the ports default names. It also defines the terminals
of a cktobj, taking the terminal names from
the port names. If any of the node pairs do not exist,
setports creates it.
setports(cktobj,nodepairs,portnames)
defines the node_pairs in an N-port cktobj as
ports using nodepairs argument. After
defining the ports, this syntax names them using
portnames. The length of the
portnames must equal to the number of
node_pairs in the circuit.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.