Help CenterHelp Center
Select and export generated matching networks as circuit objects from an existing matching network object
cktout = exportCircuits(mnobj)
cktout = exportCircuits(mnobj,indexlist)
example
cktout = exportCircuits(mnobj) exports the best matching network as a circuit object.
cktout
mnobj
cktout = exportCircuits(mnobj,indexlist) exports only matching networks specified in the index list as an array of circuit objects.
indexlist
collapse all
Example shows how to export an circuit object from an matchingnetwork object
Create a default matchingnetwork object.
matchnet = matchingnetwork;
Export the best solution among the generated circuits (which is circuit #1 in the list):
cktout1 = exportCircuits(matchnet)
cktout1 = circuit: Circuit element ElementNames: {'L' 'L_1'} Elements: [1x2 inductor] Nodes: [1 2 3] Name: 'auto_2' NumPorts: 2 Terminals: {'p1+' 'p2+' 'p1-' 'p2-'}
Note: To see the list of generated circuits use c = circuitDescriptions(matchnet)
c = circuitDescriptions(matchnet)
Export circuit #2 from the generated matching network solutions using:
cktout2 = exportCircuits(matchnet,2)
cktout2 = circuit: Circuit element ElementNames: {'L' 'L_1'} Elements: [1x2 inductor] Nodes: [1 2 3] Name: 'auto_2' NumPorts: 2 Terminals: {'p1+' 'p2+' 'p1-' 'p2-'}
Alternatively, use matchnet.Circuit(2).
This example shows how to export circuit objects from an matchingnetwork object
Design a matchingnetwork
A matchingnetwork object is created with 3 components:
matchnet = matchingnetwork('Components',3);
Export circuits
Let us export circuits #3 and #4 from the list of generated circuit solutions. The circuits are exported as an array of circuit objects.
cktout = exportCircuits(matchnet,[3 4])
cktout = 2x1 circuit array with properties: Name Terminals ParentNodes ParentPath
matchingnetwork
Matching network, specified as a matchingnetwork object.
Data Types: char | string
char
string
Index list of matching networks to export as circuits, specified as a scalar or a vector.
Data Types: double
double
Note
To export as RF Circuit Objects (rfckt) objects, type 'help exportCircuits'
RF Circuit Objects
rfckt
addEvaluationParameter | circuitDescriptions | getEvaluationParameters | clearEvaluationParameter | rfplot | smithplot | sparameters | matchingnetwork
addEvaluationParameter
circuitDescriptions
getEvaluationParameters
clearEvaluationParameter
rfplot
smithplot
sparameters
Tiene una versión modificada de este ejemplo. ¿Desea abrir este ejemplo con sus modificaciones?
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office