A block library is a collection of blocks that that you can use to create instances of blocks in a Simulink® model.
Note: Simulink comes with some built-in block libraries in addition to the default Simulink library. These libraries support simulating models that contain these blocks. However, you cannot generate code or modify these blocks without the relevant product licences. You cannot change a built-in block library in any way.
Block libraries are a useful componentization technique for:
Providing frequently used, and seldom changed, modeling utilities
Reusing components repeatedly in a model or in multiple models
For additional information about how libraries compare to other Simulink componentization techniques, see Componentization Guidelines.
Simulink provides a Library Browser that you can use to display block libraries, search for blocks by name, and copy library blocks into models. All installed libraries appear in the Library Browser when you open it. See Use the Library Browser for information about how to use the Simulink Library Browser to add blocks to your model.
When you copy a block from a library into a model, Simulink creates a linked block in the model, and connects it to the library block using a library link. The library block is the prototype block, and the linked block in the model is an instance of the library block. The linked block appearance and behavior are the same as the library block. For most purposes, you can ignore the underlying link and just think of a linked block as a clone of the library block.
Copying a block from a library to another library or model does
not always create a linked block. Library blocks that support linking
include subsystems, masked blocks, and charts. However, the block
author can choose not to make the copy a linked block by modifying
CopyFcn, as done by the Simulink Subsystem