Main Content

getPosition

Get position of Simulink Library Browser

Description

position = getPosition(lb) returns the position of the Simulink® Library Browser in standalone mode. For more information on standalone mode, see Library Browser in Standalone Mode.

example

Examples

collapse all

lb = LibraryBrowser.LibraryBrowser2;
getPosition(lb)
ans =

    50   279   600   600

Input Arguments

collapse all

Simulink Library Browser, specified as a LibraryBrowser.LBStandalone object.

Output Arguments

collapse all

Position of Library Browser, returned as a numeric array of integers, in pixels: upper-left x-coordinate, upper-left y-coordinate, width, and height.

Limitations

The getPosition function does not act on a docked Library Browser. To use the getPosition function, open the Library Browser in standalone mode by clicking the Launch standalone library browser button Launch standalone library browser button.

Version History

Introduced in R2016b