LibraryBrowser.LBStandalone
Display, hide, size, and position Simulink Library Browser
Description
Use LibraryBrowser.LBStandalone
objects to programmatically
display, hide, size, position, and refresh the Simulink® Library Browser in standalone mode. For more information, see Library Browser in Standalone Mode, show
,
hide
,
getPosition
, setPosition
, and refresh
. To interact with a LibraryBrowser.LBStandalone
object, create and get the handle of the object, then set the object properties or run
the object functions.
Creation
To create and get the handle of the Library Browser object, use either slLibraryBrowser
or LibraryBrowser.LibraryBrowser2
.
Note
When you use the slLibraryBrowser
to get the 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.
Properties
Object Functions
refresh | Refresh Simulink Library Browser |
show | Display Simulink Library Browser |
hide | Hide Simulink Library Browser |
getPosition | Get position of Simulink Library Browser |
setPosition | Set position of Simulink Library Browser |
Examples
Limitations
The LibraryBrowser.LBStandalone
object does not allow you to
programmatically act on a docked Library Browser. To use the
LibraryBrowser.LBStandalone
object, open the Library Browser in
standalone mode by clicking the Launch standalone library browser button .