Find and add blocks to your model
The Library Browser opens and displays a tree view of the Simulink® block libraries on your system.
As you click libraries in the tree, the contents of the library appear in the right pane. Use the Library Browser to locate blocks and annotations to add to your model. Navigate the libraries using the tree structure in the left pane or by double-clicking sublibraries in the right pane. Sublibraries, blocks, and text and image annotations can appear in the right pane. Pause on any item to see a description.
The Recently Used library at the bottom of the tree contains the blocks and libraries from the available libraries that you used most recently.
When you find the item you are looking for, you can drag it into your model, or you can right-click it and use the context menu to add it.
On the MATLAB® Home tab, click Simulink, and choose a model template or open an existing model. On the Simulation tab, click the Library Browser button.
In the MATLAB Command Window, enter
You can search for blocks and annotations using the search controls.
To use regular expressions, whole word search, or case-sensitive search, click the arrow to the left of the Search for subsystems, blocks, and annotations button. For annotations, you can search for any of the text in the annotation or any part of its description.
By default, library contents appear in alphabetical order. Subsystems appear first, then blocks, and then annotations. If you prefer to view the contents of the libraries in the order set by the developer of the library, right-click the right pane and select Sort in library model order. This setting stays in effect from session to session.
To return to the alphabetical order, right-click and select Sort in alphabetical order. Depending on the library, some items might not appear in alphabetical order. For example, in the Simulink library, the Quick Insert library appears as the last item regardless of the sorting option you choose.
You can create your own libraries and, optionally, have them appear in the Library Browser.
For more information, see Create Custom Library.
You can use keyboard shortcuts to interact with the Library Browser.
|Open Library Browser from a model||Ctrl+Shift+L|
|Move selection down||Down arrow|
|Move selection up||Up arrow|
|Expand a library||Right arrow|
|Collapse a library||Left arrow|
|Navigate to parent library||Esc|
|Navigate from search result to library containing block||Ctrl+R|
|Insert the selected block in a new model||Ctrl+I|
|Increase zoom||Ctrl+Plus (+)|
|Decrease zoom||Ctrl+Minus (-)|
|Reset zoom to default||Alt+1|
|Find a block||Ctrl+F|
|Close Library Browser||Ctrl+W|