SimElectronics™ Block Libraries

Overview of SimElectronics™ Libraries

SimElectronics™ libraries provide blocks for modeling electromechanical and electrical systems within the Simulink® environment. SimElectronics also lets you create custom libraries to model circuit components defined in SPICE netlists.

At a high level, the library blocks fall into three categories:

A SimElectronics model can contain blocks from any of the standard SimElectronics libraries or from a custom library you create by importing circuit data from a SPICE netlist. A model can also include Simulink blocks and blocks from other products, such as those described in Required and Related Products.

This section contains the following topics:

Product Libraries

Use blocks from the SimElectronics libraries described in this table to model physical and electrical components by specifying physical and electrical properties.

LibraryDescription
Actuators & DriversMotors and drivers, specified using parameters that appear on manufacturer data sheets.
Integrated CircuitsCircuit-level components such as operational amplifiers.
Passive DevicesResistive, inductive, and capacitive devices that depend on time or temperature.
Semiconductor DevicesDevice-level components such as MOSFETs and bipolar transistors, including a sublibrary of SPICE-compatible blocks specified using industry-standard SPICE parameters.
SensorsElectrical sensors, specified using parameters that appear on manufacturer data sheets.
SourcesCurrent and voltage sources, including a sublibrary of SPICE-compatible blocks specified using industry-standard SPICE parameters.
UtilitiesBlock for specifying simulation information that pertains to all SPICE-compatible blocks in a SimElectronicsnetwork, such as temperature.

    Note   A SimElectronics network is a collection of one or more SimElectronics blocks. Collections of SimElectronics blocks that are separated by Simulink blocks (and the PS-Simulink Converter and Simulink-PS Converter blocks that bridge the SimElectronics and Simulink parts of the model) are in different networks.

For more information on defining components, see Modeling Electronic Components.

Custom SimElectronics™ Libraries

Use blocks from one or more custom libraries to model circuit components defined in SPICE netlists. You create the custom libraries by importing circuit information from a SPICE netlist into SimElectronics.

For more information on importing SPICE data, see Importing SPICE Models Into a SimElectronics™ Library.

Opening SimElectronics™ Libraries

There are two ways to access SimElectronics blocks:

Using the Simulink® Library Browser to Access the Block Libraries

You can access the blocks through the Simulink Library Browser. To display the Library Browser, click the Library Browser button in the toolbar of the MATLAB® desktop or Simulink model window:

Alternatively, you can type simulink in the MATLAB Command Window. Then expand the Simscape entry in the contents tree.

For more information on using the Library Browser, see Library Browser in the Simulink Graphical User Interface documentation.

Using the Command Prompt to Access the Block Libraries

Another way to access the block libraries is to open them individually by using the command prompt:

The SimElectronics library window is shown in the following figure. Each icon in the window represents a library. Some of these libraries contain second-level sublibraries. Double-click an icon to open the corresponding library.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS