Main Content

setPosition

Set position of Simulink Library Browser

Description

example

setPosition(lb,position) sets the position of the Simulink® Library Browser.

Examples

collapse all

lb = LibraryBrowser.LibraryBrowser2;
setPosition(lb,[70 250 500 500])

Input Arguments

collapse all

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

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

Data Types: double

Introduced in R2016b