Main Content


Display, hide, size, and position Simulink Library Browser


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


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


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


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;

Version History

Introduced in R2014b

expand all

Behavior changed in R2016b