RectCenter
>Psychtoolbox>PsychRects
[x,y] = RectCenter(rect);
[RectCenter](RectCenter) returns the integer x,y point closest to the center of a rect.
See also [PsychRects](PsychRects), [CenterRectOnPoint](CenterRectOnPoint).
Path Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychRects/RectCenter.m