3.3.6 LoadModel
Command structure of LoadModel.
With LoadModel you can load a model definition from a library file. LoadModel searches a list of model library files and returns the first model definition that matches the specified name and selector.
You can use LoadModel within a Circuit object to load a model definition at run time and assign global scope to the model.
LoadModel has the following options:
Options for LoadModel.
See also: Circuit, ExpandSubcircuits, LoadModelParameters.
Examples
Load Analog Insydes.
In[1]:= <<AnalogInsydes`
Load two model definitions from the model library and store them in the global subcircuit database.
In[2]:= Circuit[ LoadModel["Diode", "Transient", Scope -> Global], LoadModel["JFET", "AC", Scope -> Global] ] // ExpandSubcircuits;
List the contents of the global subcircuit database.
In[3]:= GlobalSubcircuits[]
Out[3]=
|