|See Also||isicon , adddialog , addtable , addeditor , gaddwin|
)Returns the current geometry of the window with the specified caption . If the window is currently displayed as an icon or in full screen mode, the geometry corresponds to when the window was last displayed in normal mode.
)If the second argument geometry is present, the window geometry is set to the specified value and the return value corresponds to the geometry before this change.
O-Matrix will print a four element integer row vector in which the first element is the right coordinate of the start of the window, the second element is the down coordinate of the windows start, the third element is its width, and the fourth element is its height. If you enter
O-Matrix will move the command window to the upper left corner of the work space.
g = windowgeometry("Command")
g(1) = 1
g(2) = 1