User`s guide

Compose and Code GUIs with Interactive Tools
3 Release the mouse button. The control moves.
4 The button Position is set, returned and placed on the system clipboard:
rect =
37 362 127 27
Add a Position parameter and empty value to the uicontro l command
from step 1 in your GUI code file, as follows:
btn1 = uicontrol('Style','pushbutt on',...
'String','Push Me','Position',[])
With the cursor inside the brackets [],typeCtrl+V to paste the setpos
output as the Position parameter value:
11-51