MATLAB Creating Graphical User Interfaces

(Barry) #1
Lay Out a UI Programmatically

Explicitly changing the Position or OuterPosition causes the other property to change.
For example, this is the current Position value of f:


f.Position


ans =


258 132 560 420
Changing the OuterPosition causes the Position to change:


f.OuterPosition = [250 250 490 340];
f.Position


ans =

Free download pdf