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.

3.6 Circuit and DAEObject Manipulation 259<br />

Display new netlist.<br />

In[4]:= DisplayForm[netload]<br />

Out[4]//DisplayForm= Netlist Raw, 4 Entries:<br />

V0, 1, 0, V0<br />

R1, 1, 2, R1<br />

R2, 2, 0, R2<br />

Rload, 2, 0, Rload<br />

3.6.2 DeleteElements<br />

DeleteElements[netlist, stringpattern]<br />

removes those netlist entries from netlist whose reference<br />

designator matches stringpattern<br />

DeleteElements[circuit, stringpattern]<br />

removes those netlist entries from the top-level netlist of<br />

circuit whose reference designator matches stringpattern<br />

DeleteElements[circuit, stringpattern, subcirspec]<br />

removes netlist entries in subcircuits specified by subcirspec<br />

Command structure of DeleteElements.<br />

Given a Netlist or Circuit object, DeleteElements removes netlist elements from the top-level<br />

netlist or from subcircuits defined in the circuit and returns the new Netlist or Circuit object,<br />

respectively. The argument stringpattern is either a single string pattern or a list of string patterns.<br />

Netlist elements whose reference designator matches any of the string patterns are removed. To delete<br />

elements in subcircuits, referencing to certain subcircuits is performed by means of the subcircuit<br />

specification subcirspec which is a sequence of rules of the following form:<br />

sequence<br />

description<br />

Name−>stringpattern <br />

, Selector−>stringpattern <br />

deletes netlist entries in 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 />

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

See also: AddElements (Section 3.6.1), GetElements (Section 3.6.3).

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

Saved successfully!

Ooh no, something went wrong!