xxsimGetWindowSize - Returns the current size of the last opened window Syntax: result = xxsimGetWindowSize() Outputs: windowsize = location and size of the window as scalar structure with the following fields: left, top, width, height Examples: windowsize = xxsimGetWindowSize() See also: xxsimSetWindowSize Author: Controllab Products B.V. email: info@controllab.nl Website: http://www.controllab.nl May 2016
0001 function [windowsize] = xxsimGetWindowSize() 0002 % xxsimGetWindowSize - Returns the current size of the last opened window 0003 % 0004 % Syntax: 0005 % result = xxsimGetWindowSize() 0006 % 0007 % Outputs: 0008 % windowsize = location and size of the window as scalar structure with the 0009 % following fields: left, top, width, height 0010 % 0011 % Examples: 0012 % windowsize = xxsimGetWindowSize() 0013 % 0014 % See also: xxsimSetWindowSize 0015 % 0016 % Author: Controllab Products B.V. 0017 % email: info@controllab.nl 0018 % Website: http://www.controllab.nl 0019 % May 2016 0020 0021 %------------- BEGIN CODE -------------- 0022 windowsize = xrlinvoke('xxsim.util.getWindowSize'); 0023 end 0024 %------------- END OF CODE --------------