Main Content

getPosition

Get position of Simulink Library Browser

Description

example

position = getPosition(lb) returns the position of the Simulink® Library Browser.

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.

Introduced in R2016b