Main Content

LibraryBrowser.LibraryBrowser2

Display, hide, size, and position Simulink Library Browser

Description

LibraryBrowser.LibraryBrowser2 objects allow you to programmatically display, hide, size, and position the Simulink® Library Browser.

Creation

Description

example

lb = LibraryBrowser.LibraryBrowser2

Properties

expand all

Always put library window on top of other Simulink Editor windows, specified as a numeric or logical 1 (true) or 0 (false).

Object Functions

refreshRefresh Simulink Library Browser
showDisplay Simulink Library Browser
hideHide Simulink Library Browser
getPositionGet position of Simulink Library Browser
setPositionSet position of Simulink Library Browser

Examples

collapse all

Create an object that lets you programmatically access the Library Browser.

lb = LibraryBrowser.LibraryBrowser2;

Set the IsOnTop property of the Library Browser to 1 (true) using dot notation to access the property.

lb.IsOnTop = 1;
Introduced in R2016b