Hi Abe,
On Monday, 9 April 2012 20:15:00 UTC+1, Abhijit Karnik wrote:
I am getting an error:
Error: File: hdrvdp.m Line: 201 Column: 7
Expression or statement is incorrect--possibly unbalanced (, {, or [.
Error in ==> Script at 9
res1 = hdrvdp( T, R, 'sRGB-display', ppd );
The offending line should contain:
[~, IMG_E] = load_spectral_resp( [metric_par.base_dir '/' metric_par.spectral_emission] )
which is the syntax that is not recognized in older versions of matlab. Please change it to:
[tmp, IMG_E] = load_spectral_resp( [metric_par.base_dir '/' metric_par.spectral_emission] )
in this and a few other lines.
The issue will be fixed in the next release.
Rafal