Screen(‘PixelSize’)

Psychtoolbox>Screen.{mex*} subfunction

Return the current pixel size of a screen or window. pixel size refers to the
color depth of a pixel in bits - also known as bpp or bits per pixel, not to
spatial size of the pixel.

###See also: