MeasMonXYZ

>Psychtoolbox>PsychCal

XYZ = MeasMonXYZ(window, settings [, whichMeterType=1])

Measure the XYZ of a series of monitor settings.

Usage:

‘window’ Onscreen window handle for window to present into.
‘settings’ a 3-rows by nMeas columns matrix with each column defining one
[r,g,b]’ color value to measure.

‘whichMeterType’ type of Colorimeter to use:

0 - Return random spectra. This is useful for testing when you don’t have a meter.
> 0 - Use MeasXYZ(whichMeterType) to measure. See “help MeasXYZ” for available meter types.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychCal/MeasMonXYZ.m