Skip to Main Content Skip to Search
Product Documentation

Library Pane

About the Library Pane

The Library Browser's Library pane displays the contents of the library selected in the Libraries pane (see Libraries Pane).

You can use the Library pane to browse the contents of the selected library, to view a library block's parameters or help, and to create instances of library blocks in models.

How to Tell Blocks from Libraries in the Library Pane

The Library pane displays the icon and name of each block or sublibrary contained by the library selected in the Libraries pane. To enable you to determine at a glance which icons represent libraries and which blocks, the Library Browser by default draws a single rectangle around an icon representing a block and a stack of three rectangles around an icon representing a library.

Choosing the Library Pane's Layout

The Library Browser can display blocks in either a list (single-column) layout or a screen-saving grid layout. To choose a layout, select List or Grid from the Library Browser's View > Layout menu.

Tip

Setting the Library Browser's layout option to grid and its icon size to compact (see Setting Icon Size) results in the most compact display of a library's contents in the Library pane.

Setting Icon Size

The Library Browser's View > Icon Size menu allows you to select any of four icon sizes: Compact (Ctrl+1), Small (Ctrl+2), Medium (Ctrl+3), Large (Ctrl+4). The compact option eliminates the use of rectangles to distinguish block icons from library icons and thus takes up the least amount of space. Use this option if you want to maximize the number of icons visible in the Library Browser's Library pane.

Selecting Blocks

Many Library pane procedures require you to select a block displayed in the pane. To select a block, click it with the mouse. The Library Browser moves the block selection cursor to the selected block.

Creating an Instance of a Library Block in a Model

To create an instance of a library block in an existing model, select the block in the Library pane and drag it into the model's window.

To create an instance of a library block in a new model, select the block in the Library pane and then select Add to a new model from the library block's context menu or Add Selected Block to a New Model from the Library Browser's Edit menu.

Displaying a Library Block's Parameters

To display a library block's parameter dialog box, double-click the block in the Library pane or select Block parameter from the block's context menu.

Displaying Help for a Library Block

To display help for a library block, select the block and then select Help from the block's context menu or from the Library Browser's Help menu.

Displaying the Contents of a Sublibrary

To display the contents of a sublibrary appearing in the Library pane, double-click the library. The library's contents replaces the parent's contents in the Library pane.

Displaying a Block or Sublibrary's Parent

To display the parent of an item (block or library) displayed in the Library pane, select Go to parent from the item's context menu. The contents of the parent replaces the contents of the child in the Library pane.

  


Related Products & Applications

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

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