Main Content

LibraryBrowser.LBStandalone

Display, hide, size, and position Simulink Library Browser

Description

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

Creation

Get the handle of the Library Browser object using either the LibraryBrowser.LibraryBrowser2 or slLibraryBrowser function.

Properties

expand all

Always put the Library Browser 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;

Compatibility Considerations

expand all

Behavior changed in R2016b

Introduced in R2014b