Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

About Block Libraries

A block library is a collection of blocks that serve as prototypes for cloning blocks to Simulink models. Simulink provides a Library Browser that you can use to display block libraries, search for blocks by name, and clone library blocks into models. All installed libraries appear in the Library Browser when you open it. See Populating a Modelfor information about how to use the Simulink Library Browser.

Simulink comes with two built-in block libraries: the Simulink block library and the Real-Time Workshop block library. The latter is included with Simulink to support sharing models that contain Real-Time Workshop blocks. Many additional products and associated block libraries are available from The MathWorks™. See the MathWorks Web Site for product information. You cannot change a built-in block library in any way.

When you clone a block from a library into a model, Simulink does not copy the library block itself. Instead, Simulink places a reference block in the model, and connects the reference block to the library block using a library link. The library block is then the prototype block, and the prototype representation in the model (via the reference block) is a block instance. The appearance and behavior of a linked block are the same as if you had actually copied it to the model. For most purposes, you can ignore the underlying and link and reference block structure and just think of a block cloned from a library as a block instance.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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