Subscripted assignment dimension mismatch.

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Subscripted assignment dimension mismatch.

Postby aeneous » Wed Mar 30, 2011 5:25 pm

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) ;
Attachments
mymodel2.mod
(12.46 KiB) Downloaded 138 times
aeneous
 
Posts: 13
Joined: Fri Mar 04, 2011 8:12 pm

Re: Subscripted assignment dimension mismatch.

Postby SébastienVillemot » Mon Apr 11, 2011 12:45 pm

Hi,

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

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests