Subscripted assignment dimension mismatch

Has anyone else gotten this error? I’m running version 4.2.0. File is attached

??? Subscripted assignment dimension mismatch.

Error in ==> ReshapeMatFiles at 131
eval(‘STOCK_’ CAPtype ‘(:,:,:,idx+1:idx+size(stock_’ type
‘,4))=stock_’ type ‘(jdx+1:jdx+reste,:,:,:);’])

Error in ==> PosteriorIRF at 241
ReshapeMatFiles(‘irf_dsge’)

Error in ==> dynare_estimation_1 at 1129
PosteriorIRF(‘posterior’);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> mymodel2 at 373
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin(‘base’,fname) ;
mymodel2.mod (12.5 KB)

Hi,

This may be a bug in Dynare. However, I can’t replicate your problem, because you did not upload the datafile.

Best,