[cal, cals] =
LoadCalFile([filespec], [whichCal], [dir])
Load calibration data from saved file in the
CalData folder.
If no argument is given, loads from file default.mat. If
an integer N is passed, loads from file screenN.mat. If
a string S is given, loads from S.mat.
If whichCal is specified, the whichCal'th calibration
in the file is returned. If whichCal > nCals, an
empty calibration is returned. whichCal defaults
to the most recent calibration.
If the specified file cannot be found, returns empty matrix.
The returned variable is a structure containing calibration
information.
Psychtoolbox/PsychCal/LoadCalFile.m