LibraryBrowser.LibraryBrowser2
Get handle of Library Browser object
Description
libraryhandle = LibraryBrowser.LibraryBrowser2
creates the Library
Browser object LibraryBrowser.LBStandalone
and returns the
object handle. When you have the object handle, you can use the object properties and
functions to display, hide, size, position, and refresh the Library Browser in standalone
mode. For more information, see Library Browser in Standalone Mode, LibraryBrowser.LBStandalone
, show
,
hide
,
getPosition
,
setPosition
,
and refresh
.
Note
You can also use slLibraryBrowser
to create and get the
handle of the Library Browser object.
When you use slLibraryBrowser
to get the object
handle:
If the Library Browser is open in standalone mode, the Library Browser window moves in front of all other Simulink® windows.
If the Library Browser is not open in standalone mode, the Library Browser opens in standalone mode.
Examples
Limitations
The LibraryBrowser.LibraryBrowser2
function does not act on a docked
Library Browser. To use the LibraryBrowser.LibraryBrowser2
function, open
the Library Browser in standalone mode by clicking the Launch standalone library browser
button .