23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

258 3. Reference Manual<br />

3.6.1 AddElements<br />

AddElements[netlist, element]<br />

AddElements[circuit, element]<br />

adds netlist entry element to netlist<br />

adds netlist entry element to the top-level netlist of circuit<br />

AddElements[circuit, element, subcirspec]<br />

adds netlist entry to subcircuits specified by subcirspec<br />

Command structure of AddElements.<br />

Given a Netlist or Circuit object, AddElements adds a new netlist element to the top-level netlist<br />

or to subcircuits defined in the circuit and returns the new Netlist or Circuit object, respectively.<br />

The subcircuits are given by means of the subcircuit specification subcirspec which is a sequence of<br />

rules of the following form:<br />

sequence<br />

description<br />

Name−>stringpattern <br />

, Selector−>stringpattern <br />

adds netlist entry to subcircuits whose Name matches<br />

stringpattern <br />

and whose Selector matches stringpattern <br />

Name−>stringpattern<br />

Selector−>stringpattern<br />

equivalent to Name−>stringpattern, Selector−>"*"<br />

equivalent to Name−>"*", Selector−>stringpattern<br />

Possible subcircuit specifications.<br />

The new netlist element is added to all subcircuits, whose Name and Selector fields match the string<br />

pattern given by the subcircuit specification.<br />

Note that there is no check whether the returned circuit defines a valid netlist.<br />

See also: DeleteElements (Section 3.6.2), GetElements (Section 3.6.3).<br />

Examples<br />

Load Analog Insydes.<br />

Define a simple voltage<br />

divider circuit.<br />

Add a load resistance to<br />

the voltage divider.<br />

In[1]:=

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!