Error running PAL_AMPM_Demo
Posted: Thu Jul 07, 2022 8:14 am
I just downloaded the latest version of Palamedes (1.11.1) and tried to run the PAL_AMPM_Demo on MATLAB R2022a. It gives me the following error (both on Original Psi, Psi+ and Psi-marginal):
Does anyone know why this happens?
Code: Select all
Check for incorrect argument data type or missing argument in call to function 'reshape'.
Error in ndgrid (line 69)
x = reshape(x,s);
Error in PAL_AMPM_CreateLUT (line 19)
[a, b, g, l, m, x] = ndgrid(priorAlphaValues, priorBetaValues, priorGammaValues, priorLambdaValues, priorModelIndeces, StimLevels);
Error in PAL_AMPM_Demo (line 170)
vizLUT = squeeze(PAL_AMPM_CreateLUT(alphas,betas,gammas,lambdas,stimRange,PF,false));